demo/GLFWConfig.cmake
raw| 1 | # - Config file for the glfw package |
| 2 | # It defines the following variables |
| 3 | # GLFW_INCLUDE_DIR, the path where GLFW headers are located |
| 4 | # GLFW_LIBRARY_DIR, folder in which the GLFW library is located |
| 5 | # GLFW_LIBRARY, library to link against to use GLFW |
| 6 | |
| 7 | set(GLFW_INCLUDE_DIR "@CMAKE_INSTALL_PREFIX@/include") |
| 8 | set(GLFW_LIBRARY_DIR "@CMAKE_INSTALL_PREFIX@/lib@LIB_SUFFIX@") |
| 9 | |
| 10 | find_library(GLFW_LIBRARY "@GLFW_LIB_NAME@" HINTS ${GLFW_LIBRARY_DIR}) |