CMake 2.8.0
This commit is contained in:
parent
d2715cae49
commit
612409e5b0
|
@ -316,7 +316,7 @@ ENDMACRO (CMAKE_BUILD_UTILITIES)
|
|||
SET(CMake_VERSION_MAJOR 2)
|
||||
SET(CMake_VERSION_MINOR 8)
|
||||
SET(CMake_VERSION_PATCH 0)
|
||||
SET(CMake_VERSION_RC 7)
|
||||
#SET(CMake_VERSION_RC 8)
|
||||
|
||||
# We use odd minor numbers for development versions.
|
||||
# Use a date for the development patch level.
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
Changes in CMake 2.8.0 Release
|
||||
- CPack: Honor CPACK_NSIS_DISPLAY_NAME (fixes regression)
|
||||
|
||||
Changes in CMake 2.8.0 RC 7
|
||||
- Partially sync FindQt4 with KDE version
|
||||
- Improve implementation of fix for #9090
|
||||
|
|
|
@ -793,9 +793,23 @@ cpack_set_if_not_set(CPACK_INSTALL_CMAKE_PROJECTS
|
|||
"${CMAKE_BINARY_DIR};${CMAKE_PROJECT_NAME};ALL;/")
|
||||
cpack_set_if_not_set(CPACK_CMAKE_GENERATOR "${CMAKE_GENERATOR}")
|
||||
cpack_set_if_not_set(CPACK_TOPLEVEL_TAG "${CPACK_SYSTEM_NAME}")
|
||||
|
||||
# if the user has set CPACK_NSIS_DISPLAY_NAME remember it
|
||||
if(DEFINED CPACK_NSIS_DISPLAY_NAME)
|
||||
SET(CPACK_NSIS_DISPLAY_NAME_SET TRUE)
|
||||
endif()
|
||||
# if the user has set CPACK_NSIS_DISPLAY
|
||||
# explicitly, then use that as the default
|
||||
# value of CPACK_NSIS_PACKAGE_NAME instead
|
||||
# of CPACK_PACKAGE_INSTALL_DIRECTORY
|
||||
cpack_set_if_not_set(CPACK_NSIS_DISPLAY_NAME "${CPACK_PACKAGE_INSTALL_DIRECTORY}")
|
||||
|
||||
if(CPACK_NSIS_DISPLAY_NAME_SET)
|
||||
string(REPLACE "\\" "\\\\"
|
||||
_NSIS_DISPLAY_NAME_TMP "${CPACK_NSIS_DISPLAY_NAME}")
|
||||
cpack_set_if_not_set(CPACK_NSIS_PACKAGE_NAME "${_NSIS_DISPLAY_NAME_TMP}")
|
||||
else()
|
||||
cpack_set_if_not_set(CPACK_NSIS_PACKAGE_NAME "${CPACK_PACKAGE_INSTALL_DIRECTORY}")
|
||||
endif()
|
||||
|
||||
cpack_set_if_not_set(CPACK_OUTPUT_CONFIG_FILE
|
||||
"${CMAKE_BINARY_DIR}/CPackConfig.cmake")
|
||||
|
|
Loading…
Reference in New Issue