From 2ba9c61f39258c55b198a8d395afdef60b8cd94c Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Fri, 25 Sep 2009 11:47:48 -0400 Subject: [PATCH] Use cmake-gui.exe for add/remove icon. --- CMakeCPackOptions.cmake.in | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CMakeCPackOptions.cmake.in b/CMakeCPackOptions.cmake.in index a12b10acf..a94fa7223 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")