Simplified build tree CMake config

This commit is contained in:
Zbigniew Mandziejewicz 2015-04-10 00:04:52 +08:00
parent 29940ee443
commit 37f7df3dc0
2 changed files with 4 additions and 5 deletions

View File

@ -155,12 +155,10 @@ write_basic_package_version_file(
) )
# build tree package config # build tree package config
configure_package_config_file( configure_file(
cmake/glmConfig.cmake.in cmake/glmBuildConfig.cmake.in
glmConfig.cmake glmConfig.cmake
INSTALL_DESTINATION ${CMAKE_CURRENT_BINARY_DIR} COPYONLY
PATH_VARS CMAKE_INSTALL_INCLUDEDIR
NO_CHECK_REQUIRED_COMPONENTS_MACRO
) )
# install tree package config # install tree package config

View File

@ -0,0 +1 @@
include("${CMAKE_CURRENT_LIST_DIR}/glmTargets.cmake")