build: Make people Acknowledge the GPLv2 in the Windows installer instead of accepting it

This commit is contained in:
WerWolv
2026-01-18 11:32:35 +01:00
parent 753e1ceff6
commit 2903a97941
5 changed files with 170 additions and 1 deletions

View File

@@ -211,6 +211,8 @@ macro(configurePackingResources)
set(CPACK_WIX_TEMPLATE "${PROJECT_SOURCE_DIR}/resources/dist/windows/WIX.template.in")
set(CPACK_WIX_EXTENSIONS "WixToolset.UI.wixext")
file(GLOB_RECURSE CPACK_WIX_EXTRA_SOURCES "${PROJECT_SOURCE_DIR}/resources/dist/windows/wix/*.wxs")
set(CPACK_PACKAGE_INSTALL_DIRECTORY "ImHex")
set_property(INSTALL "$<TARGET_FILE_NAME:main>"
PROPERTY CPACK_START_MENU_SHORTCUTS "ImHex"