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