ENH: add RC stuff to main tree
This commit is contained in:
parent
51d255bf92
commit
6feb9a3309
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue