Skip to content

Commit

Permalink
Update CMakeLists.txt (#10098)
Browse files Browse the repository at this point in the history
Added set(CPACK_COMPONENTS_ALL "") to prevent cmake from causing an XML fragments issue later on in CPack.
  • Loading branch information
ultralapse authored Dec 22, 2023
1 parent af4bc3e commit 681a0f5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -477,6 +477,7 @@ if(WIN32)
string(REGEX REPLACE "-.*$" "" KEEPASSXC_VERSION_CLEAN ${KEEPASSXC_VERSION})

set(CPACK_GENERATOR "ZIP;WIX")
set(CPACK_COMPONENTS_ALL "")
set(CPACK_STRIP_FILES OFF)
set(CPACK_PACKAGE_FILE_NAME "${PROGNAME}-${KEEPASSXC_VERSION}-${OUTPUT_FILE_POSTFIX}")
set(CPACK_PACKAGE_INSTALL_DIRECTORY ${PROGNAME})
Expand Down

0 comments on commit 681a0f5

Please sign in to comment.