summaryrefslogtreecommitdiffstats
path: root/Tests/CPackComponentsForAll/MyLibCPackConfig-IgnoreGroup.cmake.in
diff options
context:
space:
mode:
authorDomen Vrankar <domen.vrankar@gmail.com>2015-01-20 23:29:46 (GMT)
committerBrad King <brad.king@kitware.com>2015-01-29 15:48:58 (GMT)
commit3ec025472735c22cb90b09bc171190005dd28bb1 (patch)
treeef09aed4a19e40b892c3228fb0f2aa3051c22423 /Tests/CPackComponentsForAll/MyLibCPackConfig-IgnoreGroup.cmake.in
parent8c4b7c567bbb47ed9555da2bd50b672304ccb858 (diff)
downloadCMake-3ec025472735c22cb90b09bc171190005dd28bb1.zip
CMake-3ec025472735c22cb90b09bc171190005dd28bb1.tar.gz
CMake-3ec025472735c22cb90b09bc171190005dd28bb1.tar.bz2
CPackRPM: Allow multiple path relocation prefixes for one package
Diffstat (limited to 'Tests/CPackComponentsForAll/MyLibCPackConfig-IgnoreGroup.cmake.in')
-rw-r--r--Tests/CPackComponentsForAll/MyLibCPackConfig-IgnoreGroup.cmake.in16
1 files changed, 9 insertions, 7 deletions
diff --git a/Tests/CPackComponentsForAll/MyLibCPackConfig-IgnoreGroup.cmake.in b/Tests/CPackComponentsForAll/MyLibCPackConfig-IgnoreGroup.cmake.in
index 8c01b32..de0ee46 100644
--- a/Tests/CPackComponentsForAll/MyLibCPackConfig-IgnoreGroup.cmake.in
+++ b/Tests/CPackComponentsForAll/MyLibCPackConfig-IgnoreGroup.cmake.in
@@ -6,15 +6,17 @@ if(CPACK_GENERATOR MATCHES "ZIP")
endif()
if(CPACK_GENERATOR MATCHES "RPM")
- set(CPACK_RPM_COMPONENT_INSTALL "ON")
- set(CPACK_RPM_applications_PACKAGE_REQUIRES "mylib-libraries")
+ set(CPACK_PACKAGING_INSTALL_PREFIX "/usr")
- # test package summary override
- set(CPACK_RPM_PACKAGE_SUMMARY "default summary")
- set(CPACK_RPM_libraries_PACKAGE_SUMMARY "libraries summary")
+ set(CPACK_RPM_COMPONENT_INSTALL "ON")
+ set(CPACK_RPM_applications_PACKAGE_REQUIRES "mylib-libraries")
- # test package description override
- set(CPACK_RPM_libraries_PACKAGE_DESCRIPTION "libraries description")
+ # test package summary override
+ set(CPACK_RPM_PACKAGE_SUMMARY "default summary")
+ set(CPACK_RPM_libraries_PACKAGE_SUMMARY "libraries summary")
+
+ # test package description override
+ set(CPACK_RPM_libraries_PACKAGE_DESCRIPTION "libraries description")
endif()
if(CPACK_GENERATOR MATCHES "DEB")