We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a6bcbb1 commit 1e18a6cCopy full SHA for 1e18a6c
examples/example_glfw_vulkan/CMakeLists.txt
@@ -15,7 +15,9 @@ set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DVK_PROTOTYPES")
15
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DVK_PROTOTYPES")
16
17
# GLFW
18
-set(GLFW_DIR ../../../glfw) # Set this to point to an up-to-date GLFW repo
+if(NOT GLFW_DIR)
19
+ set(GLFW_DIR ../../../glfw) # Set this to point to an up-to-date GLFW repo
20
+endif()
21
option(GLFW_BUILD_EXAMPLES "Build the GLFW example programs" OFF)
22
option(GLFW_BUILD_TESTS "Build the GLFW test programs" OFF)
23
option(GLFW_BUILD_DOCS "Build the GLFW documentation" OFF)
0 commit comments