[cmake-commits] hoffman committed CMakeLists.txt 1.111 1.112

cmake-commits at cmake.org cmake-commits at cmake.org
Thu Jan 4 10:18:12 EST 2007


Update of /cvsroot/CMake/CMake
In directory public:/mounts/ram/cvs-serv8571

Modified Files:
	CMakeLists.txt 
Log Message:
ENH: add RC stuff to main tree


Index: CMakeLists.txt
===================================================================
RCS file: /cvsroot/CMake/CMake/CMakeLists.txt,v
retrieving revision 1.111
retrieving revision 1.112
diff -u -d -r1.111 -r1.112
--- CMakeLists.txt	19 Oct 2006 19:00:05 -0000	1.111
+++ CMakeLists.txt	4 Jan 2007 15:18:09 -0000	1.112
@@ -355,6 +355,10 @@
   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)



More information about the Cmake-commits mailing list