-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Include imported targets into module config file
- Loading branch information
1 parent
23d3474
commit a247f7d
Showing
1 changed file
with
1 addition
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1 @@ | ||
# - 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}) | ||
|
||
include("${CMAKE_CURRENT_LIST_DIR}/glfw3Targets.cmake") |