summaryrefslogtreecommitdiffstats
path: root/Tests/CPackComponentsPrefix
diff options
context:
space:
mode:
authorDomen Vrankar <domen.vrankar@gmail.com>2015-05-08 22:42:30 (GMT)
committerBrad King <brad.king@kitware.com>2015-05-12 12:56:34 (GMT)
commit7c103be8deb906a2c6036da6f25dd30928cc1a54 (patch)
tree693775abede19ae491cd8c152f3b5a7bfd416818 /Tests/CPackComponentsPrefix
parent6831f91a6c6d4f5d194c7a035c8de45f203f9cf8 (diff)
downloadCMake-7c103be8deb906a2c6036da6f25dd30928cc1a54.zip
CMake-7c103be8deb906a2c6036da6f25dd30928cc1a54.tar.gz
CMake-7c103be8deb906a2c6036da6f25dd30928cc1a54.tar.bz2
CPack: Enable DEB and RPM tests more reliably
CPack DEB and RPM generators were not used for some tests because CPACK_BINARY_DEB and CPACK_BINARY_RPM variable were not set. Fix this, simplify generator selection in CTEST_RUN_CPackComponentsForAll, and fix bugs that were detected after tests were run.
Diffstat (limited to 'Tests/CPackComponentsPrefix')
-rw-r--r--Tests/CPackComponentsPrefix/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/Tests/CPackComponentsPrefix/CMakeLists.txt b/Tests/CPackComponentsPrefix/CMakeLists.txt
index 207dae8..581d3b3 100644
--- a/Tests/CPackComponentsPrefix/CMakeLists.txt
+++ b/Tests/CPackComponentsPrefix/CMakeLists.txt
@@ -6,6 +6,7 @@ install(FILES file-runtime.txt
install(FILES file-development.txt
DESTINATION lib COMPONENT Development)
+set(CPACK_PACKAGE_CONTACT "None") # mandatory for DEB generator
set(CPACK_COMPONENT_INCLUDE_TOPLEVEL_DIRECTORY 1)
set(CPACK_COMPONENTS_ALL Development)
set(CPACK_ARCHIVE_COMPONENT_INSTALL 1)