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
configure_package_config_file(
cmake/glmConfig.cmake.in
configure_file(
cmake/glmBuildConfig.cmake.in
glmConfig.cmake
INSTALL_DESTINATION ${CMAKE_CURRENT_BINARY_DIR}
PATH_VARS CMAKE_INSTALL_INCLUDEDIR
NO_CHECK_REQUIRED_COMPONENTS_MACRO
COPYONLY
)
# install tree package config

View File

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