diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2006-04-30 07:10:55 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2006-04-30 07:10:55 (GMT) |
commit | f816c4e09b56a50d14d2a2d7da7c4c014923c3cf (patch) | |
tree | 5afe421dc659ed58647b723d741eb16a65b04978 /Modules | |
parent | 34feb381bef45e397c1f8916627a5a6de4846175 (diff) | |
download | CMake-f816c4e09b56a50d14d2a2d7da7c4c014923c3cf.zip CMake-f816c4e09b56a50d14d2a2d7da7c4c014923c3cf.tar.gz CMake-f816c4e09b56a50d14d2a2d7da7c4c014923c3cf.tar.bz2 |
ENH: Handle the no-icon case
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/NSIS.template.in | 5 |
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 |