-
-
Notifications
You must be signed in to change notification settings - Fork 11.2k
Closed
Labels
Description
Hello,
I was very pleased to found a CMakelists.txt in example glfw_vulkan. (May be could be added to others also)
The line
set(GLFW_DIR ../../../glfw) # Set this to point to an up-to-date GLFW repo
has to be edited by user but it is really not nedded: It can be changed to:
if(NOT GLFW_DIR)
message(FATAL_ERROR "set the option GLFW_DIR to the source directory of GLFW")
endif()
And so the user can configure and buil from the command line with
cmake -Ggenerator -DGLFW_DIR=path_to_glfw_source path_to_glfw_vulkan_example
make install