diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2006-01-09 16:26:31 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2006-01-09 16:26:31 (GMT) |
commit | 0c302a7e5fa1b52b6b59a0f299dd811a9a1194c7 (patch) | |
tree | d04d85e0e4ae1de2bcb0c802567910ebb944c60f /CMakeLists.txt | |
parent | e8b7d233d7545e59fb0046913048d0bcc097ac33 (diff) | |
download | CMake-0c302a7e5fa1b52b6b59a0f299dd811a9a1194c7.zip CMake-0c302a7e5fa1b52b6b59a0f299dd811a9a1194c7.tar.gz CMake-0c302a7e5fa1b52b6b59a0f299dd811a9a1194c7.tar.bz2 |
ENH: Fix test for cpack variables, add support for icon on windows
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index f057887..8600c55 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -187,6 +187,9 @@ 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}") + IF(WIN32 AND NOT UNIX) + SET(CPACK_PACKAGE_ICON "${CMake_SOURCE_DIR}/Utilities/Release\\\\CMakeInstall.bmp") + ENDIF(WIN32 AND NOT UNIX) INCLUDE(CPack) ENDIF(EXISTS "${CMAKE_ROOT}/Modules/CPack.cmake") |