mirror of
https://github.com/AleziaKurdis/overte.git
synced 2025-04-09 09:54:46 +02:00
make sure ADD_REMOVE_ICON_NAME set for nsis
This commit is contained in:
parent
7d4a7983ed
commit
88604a0110
1 changed files with 3 additions and 2 deletions
|
@ -27,8 +27,9 @@ macro(GENERATE_INSTALLERS)
|
|||
if (WIN32)
|
||||
set(CPACK_NSIS_MUI_ICON "${HF_CMAKE_DIR}/installer/installer.ico")
|
||||
|
||||
# reference the installer icon for Add/Remove icon
|
||||
set(ADD_REMOVE_ICON_BAD_PATH "${CPACK_NSIS_MUI_ICON}")
|
||||
# install and reference the Add/Remove icon
|
||||
set(ADD_REMOVE_ICON_NAME "installer.ico")
|
||||
set(ADD_REMOVE_ICON_BAD_PATH "${HF_CMAKE_DIR}/installer/${ADD_REMOVE_ICON_NAME}")
|
||||
fix_path_for_nsis(${ADD_REMOVE_ICON_BAD_PATH} ADD_REMOVE_ICON_PATH)
|
||||
set(CPACK_NSIS_INSTALLED_ICON_NAME ${ADD_REMOVE_ICON_NAME})
|
||||
|
||||
|
|
Loading…
Reference in a new issue