summaryrefslogtreecommitdiff
path: root/CMake
diff options
context:
space:
mode:
authorThorbjørn Lindeijer <bjorn@lindeijer.nl>2024-03-28 07:36:52 -0700
committerThorbjørn Lindeijer <bjorn@lindeijer.nl>2024-04-08 16:28:44 +0200
commitc4b8167a69c46fe89a3c792f97adab7d2f9fb40c (patch)
treea5b2e6bd4811950f2cdf13a9a0115f028e1a5704 /CMake
parent12ac98a5375f38a190925ef59bc923318a37fd0f (diff)
downloadmana-c4b8167a69c46fe89a3c792f97adab7d2f9fb40c.tar.gz
mana-c4b8167a69c46fe89a3c792f97adab7d2f9fb40c.tar.bz2
mana-c4b8167a69c46fe89a3c792f97adab7d2f9fb40c.tar.xz
mana-c4b8167a69c46fe89a3c792f97adab7d2f9fb40c.zip
CMake: Allow using CPack to generate an NSIS installer
* Set the version, description and homepage URL using modern CMake style (minimum supported version increased to CMake 3.12). * Fixed the reference to the MUI_WELCOMEFINISHPAGE_BITMAP file, which needed "\\" instead of "/" to work for me in MSYS2, and with CPACK_VERBATIM_VARIABLES enabled (otherwise "\\\\" was needed). * Fixed the icon used for the uninstall entry by setting CPACK_NSIS_INSTALLED_ICON_NAME. * Fixed missing start menu entry by setting CPACK_PACKAGE_EXECUTABLES. * Fixed running Mana when finishing the install by setting CPACK_NSIS_EXECUTABLES_DIRECTORY. * Mark the NSIS installer as DPI-aware using CPACK_NSIS_MANIFEST_DPI_AWARE. * Enabled uninstall before install using CPACK_NSIS_ENABLE_UNINSTALL_BEFORE_INSTALL.
Diffstat (limited to 'CMake')
0 files changed, 0 insertions, 0 deletions