Define package architecture in Wix

This commit is contained in:
Alex Spataru 2024-11-29 17:22:40 -05:00
parent dc3bdedd6d
commit 3a6c9ecaed

View File

@ -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")