summaryrefslogtreecommitdiffstats
path: root/Modules/NSIS.template.in
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2006-04-30 07:10:55 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2006-04-30 07:10:55 (GMT)
commitf816c4e09b56a50d14d2a2d7da7c4c014923c3cf (patch)
tree5afe421dc659ed58647b723d741eb16a65b04978 /Modules/NSIS.template.in
parent34feb381bef45e397c1f8916627a5a6de4846175 (diff)
downloadCMake-f816c4e09b56a50d14d2a2d7da7c4c014923c3cf.zip
CMake-f816c4e09b56a50d14d2a2d7da7c4c014923c3cf.tar.gz
CMake-f816c4e09b56a50d14d2a2d7da7c4c014923c3cf.tar.bz2
ENH: Handle the no-icon case
Diffstat (limited to 'Modules/NSIS.template.in')
-rw-r--r--Modules/NSIS.template.in5
1 files changed, 4 insertions, 1 deletions
diff --git a/Modules/NSIS.template.in b/Modules/NSIS.template.in
index b910a3e..ee2a1ab 100644
--- a/Modules/NSIS.template.in
+++ b/Modules/NSIS.template.in
@@ -394,7 +394,10 @@ FunctionEnd
;--------------------------------
; Define some macro setting for the gui
- !define MUI_HEADERIMAGE_BITMAP "@CPACK_PACKAGE_ICON@"
+ !define CPACK_PACKAGE_ICON@CPACK_PACKAGE_ICON@
+ !ifndef CPACK_PACKAGE_ICON
+ !define MUI_HEADERIMAGE_BITMAP "@CPACK_PACKAGE_ICON@"
+ !endif
;--------------------------------
;Pages