Files
OpenVulkano/3rdParty/glm/CMakeLists.txt

16 lines
312 B
CMake

include(FetchContent)
if(NOT DEFINED GLM_REPO)
set(GLM_REPO https://github.com/g-truc/glm.git)
endif ()
FetchContent_Declare(
glm
EXCLUDE_FROM_ALL
GIT_REPOSITORY ${GLM_REPO}
GIT_TAG 0.9.9.8
GIT_SHALLOW TRUE
)
set(GLM_TEST_ENABLE OFF)
FetchContent_MakeAvailable(glm)