mirror of
https://github.com/g-truc/glm.git
synced 2024-11-10 12:41:54 +00:00
Added FindGLM cmake script
This commit is contained in:
parent
2432d67e93
commit
87dd471cfc
12
FindGLM.cmake
Normal file
12
FindGLM.cmake
Normal file
@ -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)
|
Loading…
Reference in New Issue
Block a user