Add EXCLUDE_FROM_ALL
This commit is contained in:
9
3rdParty/glm/CMakeLists.txt
vendored
9
3rdParty/glm/CMakeLists.txt
vendored
@@ -1,10 +1,11 @@
|
||||
include(FetchContent)
|
||||
|
||||
FetchContent_Declare(
|
||||
glm
|
||||
GIT_REPOSITORY https://github.com/g-truc/glm.git
|
||||
GIT_TAG 0.9.9.8
|
||||
GIT_SHALLOW TRUE
|
||||
glm
|
||||
EXCLUDE_FROM_ALL
|
||||
GIT_REPOSITORY https://github.com/g-truc/glm.git
|
||||
GIT_TAG 0.9.9.8
|
||||
GIT_SHALLOW TRUE
|
||||
)
|
||||
set(GLM_TEST_ENABLE OFF)
|
||||
FetchContent_MakeAvailable(glm)
|
||||
|
||||
Reference in New Issue
Block a user