summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2006-02-14 15:28:40 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2006-02-14 15:28:40 (GMT)
commit3bce601c41b8487a18417e32b75c0e22f0750bbc (patch)
tree8dc47a279806741f6fa4ab14a702614e364c4684 /CMakeLists.txt
parent2d29e48726235b71db6e38481dd537fb9eb75876 (diff)
downloadCMake-3bce601c41b8487a18417e32b75c0e22f0750bbc.zip
CMake-3bce601c41b8487a18417e32b75c0e22f0750bbc.tar.gz
CMake-3bce601c41b8487a18417e32b75c0e22f0750bbc.tar.bz2
ENH: Improved support for icons, random directories, etc...
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt6
1 files changed, 4 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 5651f4c..71214f1 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -230,12 +230,14 @@ IF(EXISTS "${CMAKE_ROOT}/Modules/CPack.cmake")
SET(CPACK_PACKAGE_VERSION_MAJOR "${CMake_VERSION_MAJOR}")
SET(CPACK_PACKAGE_VERSION_MINOR "${CMake_VERSION_MINOR}")
SET(CPACK_PACKAGE_VERSION_PATCH "${CMake_VERSION_PATCH}")
- SET(CPACK_PACKAGE_EXECUTABLE "CMakeSetup")
- SET(CPACK_PACKAGE_EXECUTABLE_LABEL "CMake")
+
IF(WIN32 AND NOT UNIX)
# There is a bug in NSI that does not handle full unix paths properly. Make
# sure there is at least one set of four (4) backlasshes.
SET(CPACK_PACKAGE_ICON "${CMake_SOURCE_DIR}/Utilities/Release\\\\CMakeInstall.bmp")
+ SET(CPACK_PACKAGE_EXECUTABLE "CMakeSetup" "CMake")
+ ELSE(WIN32 AND NOT UNIX)
+ SET(CPACK_PACKAGE_EXECUTABLE "ccmake" "CMake")
ENDIF(WIN32 AND NOT UNIX)
INCLUDE(CPack)
ENDIF(EXISTS "${CMAKE_ROOT}/Modules/CPack.cmake")