glm/FindGLM.cmake

13 lines
315 B
CMake
Raw Permalink Normal View History

2010-12-20 23:52:00 +00:00
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)