summaryrefslogtreecommitdiffstats
path: root/Tests
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2020-05-22 12:43:51 (GMT)
committerBen Boeckel <ben.boeckel@kitware.com>2020-05-22 15:34:14 (GMT)
commit28f2ad941906248d2de8c9c32ddd3a0e57b13fc5 (patch)
tree8a7ca965403b8f4c96c279ae10f653530092ba50 /Tests
parent9d5e32b79b04e5784acd07dd82fec79bc9b4cc34 (diff)
downloadCMake-28f2ad941906248d2de8c9c32ddd3a0e57b13fc5.zip
CMake-28f2ad941906248d2de8c9c32ddd3a0e57b13fc5.tar.gz
CMake-28f2ad941906248d2de8c9c32ddd3a0e57b13fc5.tar.bz2
Tests/CPackWiXGenerator; support non-interactive sessions
Diffstat (limited to 'Tests')
-rw-r--r--Tests/CPackWiXGenerator/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/Tests/CPackWiXGenerator/CMakeLists.txt b/Tests/CPackWiXGenerator/CMakeLists.txt
index 73eaf4f..940e849 100644
--- a/Tests/CPackWiXGenerator/CMakeLists.txt
+++ b/Tests/CPackWiXGenerator/CMakeLists.txt
@@ -49,6 +49,9 @@ set(CPACK_PACKAGE_INSTALL_DIRECTORY "CPack Component Example")
set(CPACK_WIX_UPGRADE_GUID "BF20CE5E-7F7C-401D-8F7C-AB45E8D170E6")
set(CPACK_WIX_UNINSTALL "1")
+# Support non-interactive sessions (like CI).
+set(CPACK_WIX_LIGHT_EXTRA_FLAGS "-sval")
+
set(CPACK_PACKAGE_EXECUTABLES
"my-libapp" "CPack WiX Test"
"my-other-app" "Second CPack WiX Test"