From 8eaffbef5f5009ae0b9fc71b4cdee292f7085bd8 Mon Sep 17 00:00:00 2001 From: Christophe Riccio Date: Wed, 17 Nov 2010 17:51:08 +0000 Subject: [PATCH] Added FindGLM CMake module --- util/FindGLM.cmake | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 util/FindGLM.cmake diff --git a/util/FindGLM.cmake b/util/FindGLM.cmake new file mode 100644 index 00000000..e2478027 --- /dev/null +++ b/util/FindGLM.cmake @@ -0,0 +1,12 @@ +if(NOT GLM_PACKAGE_DIR) + message("ERROR: GLM_PACKAGE_DIR requires to be set") +endif(NOT GLM_PACKAGE_DIR) + +set(GLM_INCLUDE_DIR ${GLM_PACKAGE_DIR}) +set(GLM_LIBRARY_DIR ) + +include_directories(${GLM_INCLUDE_DIR}) + +if(GLM_PACKAGE_DIR AND GLM_INCLUDE_DIR) + set(GLM_FOUND "YES") +endif(GLM_PACKAGE_DIR AND GLM_INCLUDE_DIR)