diff options
author | Brad King <brad.king@kitware.com> | 2015-02-03 14:46:21 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2015-02-03 14:46:21 (GMT) |
commit | aec11372a5868694937b1c232af9d7510ad8497e (patch) | |
tree | 740156f23b2c802f177884ce6d7a97940682f632 /Tests/RunCMake/CPackRPM/CPackRPM_PARTIALLY_RELOCATABLE_WARNING.cmake | |
parent | 99e3650e66399e75efb989322d4b0146c549dbfa (diff) | |
parent | 3ec025472735c22cb90b09bc171190005dd28bb1 (diff) | |
download | CMake-aec11372a5868694937b1c232af9d7510ad8497e.zip CMake-aec11372a5868694937b1c232af9d7510ad8497e.tar.gz CMake-aec11372a5868694937b1c232af9d7510ad8497e.tar.bz2 |
Merge topic 'rpm_multi_prefix'
3ec02547 CPackRPM: Allow multiple path relocation prefixes for one package
Diffstat (limited to 'Tests/RunCMake/CPackRPM/CPackRPM_PARTIALLY_RELOCATABLE_WARNING.cmake')
-rw-r--r-- | Tests/RunCMake/CPackRPM/CPackRPM_PARTIALLY_RELOCATABLE_WARNING.cmake | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Tests/RunCMake/CPackRPM/CPackRPM_PARTIALLY_RELOCATABLE_WARNING.cmake b/Tests/RunCMake/CPackRPM/CPackRPM_PARTIALLY_RELOCATABLE_WARNING.cmake new file mode 100644 index 0000000..3ace6a8 --- /dev/null +++ b/Tests/RunCMake/CPackRPM/CPackRPM_PARTIALLY_RELOCATABLE_WARNING.cmake @@ -0,0 +1,7 @@ +install(FILES CMakeLists.txt DESTINATION /not_relocatable COMPONENT static) +install(FILES CMakeLists.txt DESTINATION relocatable COMPONENT relocatable) + +set(CPACK_PACKAGE_RELOCATABLE TRUE) +set(CPACK_PACKAGING_INSTALL_PREFIX "/opt") + +set(CPACK_RPM_COMPONENT_INSTALL ON) |