use backslashes in add remove icon path

This commit is contained in:
Stephen Birarda 2016-01-14 14:54:12 -08:00
parent 95acd2cfc3
commit 0533438b8f

View file

@ -29,7 +29,8 @@ macro(GENERATE_INSTALLERS)
# install the uninstaller icon and reference it for Add/Remove icon
set(ADD_REMOVE_ICON_NAME "add-remove.ico")
set(ADD_REMOVE_ICON_PATH "${HF_CMAKE_DIR}/installer/${ADD_REMOVE_ICON_NAME}")
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})
# use macro to put backslashes in header image path since nsis requires them