Remove WIX from default list of CPack generators.

This ensures that MSI packages are only built when explicitly requested
by using the "-G" parameter of cpack.
This commit is contained in:
Sebastian Marsching 2017-12-03 17:49:15 +01:00
parent 3e9067fe8e
commit 1ce77e6f15

View File

@ -306,7 +306,7 @@ if(MINGW)
"${CMAKE_SOURCE_DIR}/LICENSE.GPL-2" "${CMAKE_SOURCE_DIR}/LICENSE.GPL-2"
"${CMAKE_CURRENT_BINARY_DIR}/INSTALLER_LICENSE.txt") "${CMAKE_CURRENT_BINARY_DIR}/INSTALLER_LICENSE.txt")
set(CPACK_GENERATOR "ZIP;NSIS;WIX") set(CPACK_GENERATOR "ZIP;NSIS")
set(CPACK_STRIP_FILES ON) set(CPACK_STRIP_FILES ON)
set(CPACK_PACKAGE_FILE_NAME "${PROGNAME}-${KEEPASSXC_VERSION}-${OUTPUT_FILE_POSTFIX}") set(CPACK_PACKAGE_FILE_NAME "${PROGNAME}-${KEEPASSXC_VERSION}-${OUTPUT_FILE_POSTFIX}")
set(CPACK_PACKAGE_INSTALL_DIRECTORY ${PROGNAME}) set(CPACK_PACKAGE_INSTALL_DIRECTORY ${PROGNAME})