summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2007-01-04 15:18:09 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2007-01-04 15:18:09 (GMT)
commit6feb9a33093ec94d71f1e572d463d352d9405dd0 (patch)
tree36d8f66d2b667795d17b027e649c3df63b3b55ac /CMakeLists.txt
parent51d255bf92783272284b72acaedbcc059c45c4ea (diff)
downloadCMake-6feb9a33093ec94d71f1e572d463d352d9405dd0.zip
CMake-6feb9a33093ec94d71f1e572d463d352d9405dd0.tar.gz
CMake-6feb9a33093ec94d71f1e572d463d352d9405dd0.tar.bz2
ENH: add RC stuff to main tree
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 627233d..bf63601 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -355,6 +355,10 @@ IF(EXISTS "${CMAKE_ROOT}/Modules/CPack.cmake")
SET(CPACK_PACKAGE_INSTALL_DIRECTORY "CMake ${CMake_VERSION_MAJOR}.${CMake_VERSION_MINOR}")
SET(CPACK_SOURCE_PACKAGE_FILE_NAME
"cmake-${CMake_VERSION_MAJOR}.${CMake_VERSION_MINOR}.${CMake_VERSION_PATCH}")
+ IF(CMake_VERSION_RC)
+ SET(CPACK_SOURCE_PACKAGE_FILE_NAME
+ "${CPACK_SOURCE_PACKAGE_FILE_NAME}-RC-${CMake_VERSION_RC}")
+ ENDIF(CMake_VERSION_RC)
IF(NOT DEFINED CPACK_SYSTEM_NAME)
SET(CPACK_SYSTEM_NAME ${CMAKE_SYSTEM_NAME}-${CMAKE_SYSTEM_PROCESSOR})
ENDIF(NOT DEFINED CPACK_SYSTEM_NAME)