summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake
diff options
context:
space:
mode:
authorDomen Vrankar <domen.vrankar@gmail.com>2015-04-05 20:49:19 (GMT)
committerDomen Vrankar <domen.vrankar@gmail.com>2015-04-05 20:49:41 (GMT)
commit0ffd35340e5458882b4b9596a84dd7cdfeaecfbd (patch)
tree34b2a3ba34959d166de9343841f3a3ed87d8de14 /Tests/RunCMake
parenta3e2de3a312aa7db516a9127a96dd1d966a7fa47 (diff)
downloadCMake-0ffd35340e5458882b4b9596a84dd7cdfeaecfbd.zip
CMake-0ffd35340e5458882b4b9596a84dd7cdfeaecfbd.tar.gz
CMake-0ffd35340e5458882b4b9596a84dd7cdfeaecfbd.tar.bz2
CPack single component packaging
RPM, DEB and archive packages were not created in cases when CPACK_<generator>_COMPONENT_INSTALL was set to ON and a single component existed. Patch also changes CPackRPM test to implicitly test for this case.
Diffstat (limited to 'Tests/RunCMake')
-rw-r--r--Tests/RunCMake/CPackRPM/CPackRPM_PARTIALLY_RELOCATABLE_WARNING.cmake1
1 files changed, 0 insertions, 1 deletions
diff --git a/Tests/RunCMake/CPackRPM/CPackRPM_PARTIALLY_RELOCATABLE_WARNING.cmake b/Tests/RunCMake/CPackRPM/CPackRPM_PARTIALLY_RELOCATABLE_WARNING.cmake
index 3ace6a8..31e729b 100644
--- a/Tests/RunCMake/CPackRPM/CPackRPM_PARTIALLY_RELOCATABLE_WARNING.cmake
+++ b/Tests/RunCMake/CPackRPM/CPackRPM_PARTIALLY_RELOCATABLE_WARNING.cmake
@@ -1,5 +1,4 @@
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")