Awesome work on GLFW.
I’ve build GLFW 3.2.1 from source and explicitly specified the
lib suffix and the installation prefix. After compilation, everything is installed where I expect it to be and the respective
glfw3Config.cmake file also installed.
When I then try to use glfw3 in my own application and try to detect it using CMake it seems that the
GLFW_LIBRARIES variables are not set when finding the glfw3 package, I.e.:
find_package(glfw3 3.2 CONFIG REQUIRED PATH_SUFFIXES "/cmake/glfw3")
CMake definitely found the glfw3Config.cmake (glfw3_DIR is set). Did I miss something in the build configuration to export these variables? Can I force these variables to be set at compile time (of glfw3) on Windows?
According to this example page:http://www.glfw.org/docs/3.0/build.html it also seems to indicate that the variables are perhaps not set on windows on purpose. Is this a higher design consideration I’m missing?
If none of the above, is it possible to do a feature request to have the variables set in the same way for windows as they are set on Unix?