summaryrefslogtreecommitdiff
path: root/CMakeCPackOptions.cmake.in
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2009-09-25 11:26:28 -0400
committerBill Hoffman <bill.hoffman@kitware.com>2009-09-25 11:26:28 -0400
commit72bc82a98ac3ef100fe79caef1783967e0a3279e (patch)
treef42f0b930e82c08df86b8767c7f61a675f8b8a0f /CMakeCPackOptions.cmake.in
parent9027506b10d17448c598ccf693e40903383381ac (diff)
downloadcmake-72bc82a98ac3ef100fe79caef1783967e0a3279e.tar.gz
Use cmake-gui.exe for the install/uninstall icon for cmake.
Diffstat (limited to 'CMakeCPackOptions.cmake.in')
-rw-r--r--CMakeCPackOptions.cmake.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/CMakeCPackOptions.cmake.in b/CMakeCPackOptions.cmake.in
index a12b10acf9..a94fa72233 100644
--- a/CMakeCPackOptions.cmake.in
+++ b/CMakeCPackOptions.cmake.in
@@ -21,6 +21,9 @@ if(CPACK_GENERATOR MATCHES "NSIS")
"doc/cmake-@CMake_VERSION_MAJOR@.@CMake_VERSION_MINOR@/cpack.html" "CPack Help"
"http://www.cmake.org" "CMake Web Site"
)
+ # Use the icond from cmake-gui for add-remove programs
+ SET(CPACK_NSIS_INSTALLED_ICON_NAME "bin\\cmake-gui.exe")
+
SET(CPACK_NSIS_DISPLAY_NAME "CMake @CMake_VERSION_MAJOR@.@CMake_VERSION_MINOR@ a cross-platform, open-source build system")
SET(CPACK_NSIS_PACKAGE_NAME "CMake @CMake_VERSION_MAJOR@.@CMake_VERSION_MINOR@")
SET(CPACK_NSIS_HELP_LINK "http://www.cmake.org")