Fix WIX packaging with beta builds

This commit is contained in:
Jonathan White 2019-01-30 22:26:33 -05:00
parent 5a34f90319
commit 42cfe01ad2
No known key found for this signature in database
GPG Key ID: 440FC65F2E0C6E01

View File

@ -368,7 +368,7 @@ if(MINGW)
"${CMAKE_SOURCE_DIR}/LICENSE.GPL-2"
"${CMAKE_CURRENT_BINARY_DIR}/INSTALLER_LICENSE.txt")
string(REGEX REPLACE "-snapshot$" "" KEEPASSXC_VERSION_CLEAN ${KEEPASSXC_VERSION})
string(REGEX REPLACE "-.*$" "" KEEPASSXC_VERSION_CLEAN ${KEEPASSXC_VERSION})
set(CPACK_GENERATOR "ZIP;WIX")
set(CPACK_STRIP_FILES OFF)