mirror of
https://github.com/glfw/glfw.git
synced 2025-10-04 05:36:35 +00:00
Simplified build tree CMake config
This commit is contained in:
parent
14c867d2c9
commit
c38315ec69
@ -506,11 +506,10 @@ write_basic_package_version_file(
|
|||||||
COMPATIBILITY SameMajorVersion)
|
COMPATIBILITY SameMajorVersion)
|
||||||
|
|
||||||
# build tree package export
|
# build tree package export
|
||||||
configure_package_config_file(src/glfw3Config.cmake.in
|
configure_file(
|
||||||
|
src/glfw3BuildConfig.cmake.in
|
||||||
glfw3Config.cmake
|
glfw3Config.cmake
|
||||||
INSTALL_DESTINATION ${GLFW_BINARY_DIR}
|
COPYONLY)
|
||||||
PATH_VARS CMAKE_INSTALL_INCLUDEDIR CMAKE_INSTALL_LIBDIR
|
|
||||||
NO_CHECK_REQUIRED_COMPONENTS_MACRO)
|
|
||||||
|
|
||||||
export(
|
export(
|
||||||
EXPORT glfwTargets
|
EXPORT glfwTargets
|
||||||
|
1
src/glfw3BuildConfig.cmake.in
Normal file
1
src/glfw3BuildConfig.cmake.in
Normal file
@ -0,0 +1 @@
|
|||||||
|
include("${CMAKE_CURRENT_LIST_DIR}/glfw3Targets.cmake")
|
Loading…
Reference in New Issue
Block a user