parent
2b57d176df
commit
fe7a4eb4ff
5 changed files with 37 additions and 32 deletions
@ -0,0 +1,15 @@ |
||||
# - Config file for the glfw3 package |
||||
# It defines the following variables |
||||
# GLFW3_INCLUDE_DIR, the path where GLFW headers are located |
||||
# GLFW3_LIBRARY_DIR, folder in which the GLFW library is located |
||||
# GLFW3_LIBRARY, library to link against to use GLFW |
||||
|
||||
set(GLFW3_VERSION "@GLFW_VERSION_FULL@") |
||||
|
||||
@PACKAGE_INIT@ |
||||
|
||||
set_and_check(GLFW3_INCLUDE_DIR "@PACKAGE_CMAKE_INSTALL_PREFIX@/include") |
||||
set_and_check(GLFW3_LIBRARY_DIR "@PACKAGE_CMAKE_INSTALL_PREFIX@/lib@LIB_SUFFIX@") |
||||
|
||||
find_library(GLFW3_LIBRARY "@GLFW_LIB_NAME@" HINTS ${GLFW3_LIBRARY_DIR}) |
||||
|
@ -1,10 +0,0 @@ |
||||
# - Config file for the glfw package |
||||
# It defines the following variables |
||||
# GLFW_INCLUDE_DIR, the path where GLFW headers are located |
||||
# GLFW_LIBRARY_DIR, folder in which the GLFW library is located |
||||
# GLFW_LIBRARY, library to link against to use GLFW |
||||
|
||||
set(GLFW_INCLUDE_DIR "@CMAKE_INSTALL_PREFIX@/include") |
||||
set(GLFW_LIBRARY_DIR "@CMAKE_INSTALL_PREFIX@/lib@LIB_SUFFIX@") |
||||
|
||||
find_library(GLFW_LIBRARY "@GLFW_LIB_NAME@" HINTS ${GLFW_LIBRARY_DIR}) |
@ -1,12 +0,0 @@ |
||||
|
||||
set(PACKAGE_VERSION "@GLFW_VERSION_FULL@") |
||||
|
||||
if ("${PACKAGE_FIND_VERSION_MAJOR}" EQUAL "@GLFW_VERSION_MAJOR@") |
||||
set(PACKAGE_VERSION_COMPATIBLE TRUE) |
||||
if ("${PACKAGE_FIND_VERSION_MINOR}" EQUAL @GLFW_VERSION_MINOR@) |
||||
set(PACKAGE_VERSION_EXACT TRUE) |
||||
endif() |
||||
else() |
||||
set(PACKAGE_VERSION_COMPATIBLE FALSE) |
||||
endif() |
||||
|
Loading…
Reference in New Issue