FindGLM.cmake 315 B

123456789101112
  1. if(NOT GLM_PACKAGE_DIR)
  2. message("ERROR: GLM_PACKAGE_DIR requires to be set")
  3. endif(NOT GLM_PACKAGE_DIR)
  4. set(GLM_INCLUDE_DIR ${GLM_PACKAGE_DIR})
  5. set(GLM_LIBRARY_DIR )
  6. include_directories(${GLM_INCLUDE_DIR})
  7. if(GLM_PACKAGE_DIR AND GLM_INCLUDE_DIR)
  8. set(GLM_FOUND "YES")
  9. endif(GLM_PACKAGE_DIR AND GLM_INCLUDE_DIR)