From 3a6c9ecaed4e5e4cf9f758b16a816a9215497484 Mon Sep 17 00:00:00 2001 From: Alex Spataru Date: Fri, 29 Nov 2024 17:22:40 -0500 Subject: [PATCH] Define package architecture in Wix --- app/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/CMakeLists.txt b/app/CMakeLists.txt index 9bd5cddd..70cc9a3b 100644 --- a/app/CMakeLists.txt +++ b/app/CMakeLists.txt @@ -345,7 +345,8 @@ if(NOT CPACK_GENERATOR) set(CPACK_WIX_PROPERTY_ARPCONTACT "${PROJECT_CONTACT}") set(CPACK_WIX_UPGRADE_GUID "a21bfa96-8805-4c47-8fa7-3b3daee6efce") set(CPACK_WIX_PROGRAM_MENU_FOLDER ".") - set(CPACK_WIX_SHORTCUTS "${PROJECT_DISPNAME};[INSTALLDIR]\\bin\\${PROJECT_EXECUTABLE}.exe") + set(CPACK_WIX_ARCHITECTURE "x64") + #set(CPACK_WIX_SHORTCUTS "${PROJECT_DISPNAME};[INSTALLDIR]\\bin\\${PROJECT_EXECUTABLE}.exe") elseif(APPLE) set(CPACK_GENERATOR "DragNDrop")