summaryrefslogtreecommitdiff
path: root/Modules
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2006-04-30 03:10:55 -0400
committerAndy Cedilnik <andy.cedilnik@kitware.com>2006-04-30 03:10:55 -0400
commitf816c4e09b56a50d14d2a2d7da7c4c014923c3cf (patch)
tree5afe421dc659ed58647b723d741eb16a65b04978 /Modules
parent34feb381bef45e397c1f8916627a5a6de4846175 (diff)
downloadcmake-f816c4e09b56a50d14d2a2d7da7c4c014923c3cf.tar.gz
ENH: Handle the no-icon case
Diffstat (limited to 'Modules')
-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 b910a3ec7b..ee2a1abedc 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