Browse Source

ENH: fix add/remove program name

Bill Hoffman 18 years ago
parent
commit
4a426d4718
1 changed files with 1 additions and 1 deletions
  1. 1 1
      CMakeCPackOptions.cmake.in

+ 1 - 1
CMakeCPackOptions.cmake.in

@@ -22,7 +22,7 @@ if(CPACK_GENERATOR MATCHES "NSIS")
   # tell cpack to create a desktop link to CMakeSetup
   SET(CPACK_CREATE_DESKTOP_LINKS "CMakeSetup")
   SET(CPACK_NSIS_INSTALLED_ICON_NAME "bin\\CMakeSetup.exe")
-  SET(CPACK_NSIS_DISPLAY_NAME "@CPACK_PACKAGE_INSTALL_DIRECTORY@ a cross-platform, open-source build system")
+  SET(CPACK_NSIS_DISPLAY_NAME "CMake ${CMake_VERSION_MAJOR}.${CMake_VERSION_MINOR} a cross-platform, open-source build system")
   SET(CPACK_NSIS_HELP_LINK "http:\\\\www.cmake.org")
   SET(CPACK_NSIS_URL_INFO_ABOUT "http:\\\\www.kitware.com")
   SET(CPACK_NSIS_CONTACT @CPACK_PACKAGE_CONTACT@)