summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CPack/tests/INSTALL_SCRIPTS
diff options
context:
space:
mode:
authorDomen Vrankar <domen.vrankar@gmail.com>2016-11-27 15:33:13 (GMT)
committerDomen Vrankar <domen.vrankar@gmail.com>2016-11-27 22:20:35 (GMT)
commitd040d1647d2192ab97db9b041599c9e224c93553 (patch)
treed9ef9808a5652b252186888075f9a97e6c3b3ddb /Tests/RunCMake/CPack/tests/INSTALL_SCRIPTS
parent2cc479bdac84843d0284573cf801ee526e798c54 (diff)
downloadCMake-d040d1647d2192ab97db9b041599c9e224c93553.zip
CMake-d040d1647d2192ab97db9b041599c9e224c93553.tar.gz
CMake-d040d1647d2192ab97db9b041599c9e224c93553.tar.bz2
Tests: CPack test set packaging type
CPack tests can now define one or more packaging types and that test will be executed once per generator per packaging type. This also enables us to set default values per packaging type for each generator which makes tests shorter.
Diffstat (limited to 'Tests/RunCMake/CPack/tests/INSTALL_SCRIPTS')
-rw-r--r--Tests/RunCMake/CPack/tests/INSTALL_SCRIPTS/test.cmake2
1 files changed, 0 insertions, 2 deletions
diff --git a/Tests/RunCMake/CPack/tests/INSTALL_SCRIPTS/test.cmake b/Tests/RunCMake/CPack/tests/INSTALL_SCRIPTS/test.cmake
index e16f8e1..fb1b8de 100644
--- a/Tests/RunCMake/CPack/tests/INSTALL_SCRIPTS/test.cmake
+++ b/Tests/RunCMake/CPack/tests/INSTALL_SCRIPTS/test.cmake
@@ -1,6 +1,4 @@
if(GENERATOR_TYPE STREQUAL "RPM")
- set(CPACK_RPM_COMPONENT_INSTALL "ON")
-
set(CPACK_RPM_PRE_INSTALL_SCRIPT_FILE
"${CMAKE_CURRENT_BINARY_DIR}/pre_install.sh")
set(CPACK_RPM_POST_INSTALL_SCRIPT_FILE