From ba0e366c5dca36674dc510b8bf0810a3abe20ab0 Mon Sep 17 00:00:00 2001 From: lapse <136134023+ultralapse@users.noreply.github.com> Date: Mon, 11 Dec 2023 16:40:51 -0500 Subject: [PATCH] Update CMakeLists.txt Added set(CPACK_COMPONENTS_ALL "") to prevent cmake from causing an XML fragments issue later on in CPack. --- src/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 15b6d947ac..f52b02d06a 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -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})