diff options
| author | Alex Neundorf <neundorf@kde.org> | 2012-05-23 21:59:50 +0200 | 
|---|---|---|
| committer | Alex Neundorf <neundorf@kde.org> | 2012-05-23 21:59:50 +0200 | 
| commit | 17c7e36310f323884011a9d4d1fe0f4dda52ae0c (patch) | |
| tree | 835530bca328f97134ab99bd9606228497027ce0 /modules | |
| parent | 5c01b7f8c234131d00f6104abf7d1815aa1557a4 (diff) | |
| download | extra-cmake-modules-17c7e36310f323884011a9d4d1fe0f4dda52ae0c.tar.gz extra-cmake-modules-17c7e36310f323884011a9d4d1fe0f4dda52ae0c.tar.bz2 | |
use ${INSTALL_TARGETS_DEFAULT_ARGS} from KDEInstallDirs.cmake
Alex
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/ECMQtFramework.cmake | 8 | 
1 files changed, 5 insertions, 3 deletions
| diff --git a/modules/ECMQtFramework.cmake b/modules/ECMQtFramework.cmake index ef31e03e..558eb41e 100644 --- a/modules/ECMQtFramework.cmake +++ b/modules/ECMQtFramework.cmake @@ -89,15 +89,17 @@  include(FeatureSummary) +# new in cmake 2.8.9: this is used for all installed files which do not have a component set +set(CMAKE_INSTALL_DEFAULT_COMPONENT_NAME "${PROJECT_NAME}") +  set(ECM_TARGET_DEFAULT_ARGS  #   EXPORT ${PROJECT_NAME}LibraryTargets -  RUNTIME DESTINATION "${BIN_INSTALL_DIR}" COMPONENT ${PROJECT_NAME} -  LIBRARY DESTINATION "${LIB_INSTALL_DIR}" COMPONENT ${PROJECT_NAME} -  ARCHIVE DESTINATION "${LIB_INSTALL_DIR}" COMPONENT Devel +  ${INSTALL_TARGETS_DEFAULT_ARGS}  )  set(CMAKECONFIG_INSTALL_DIR "${CMAKECONFIG_INSTALL_PREFIX}/${PROJECT_NAME}") +  include(CMakePackageConfigHelpers)  configure_package_config_file( | 
