diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2007-11-07 18:11:58 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2007-11-07 18:11:58 (GMT) |
commit | 87c22309b844176df1250f37ecef418b6856ddd6 (patch) | |
tree | 51046edc7411a3d5a8ce62a92f6f9f6d758dbbab /CMakeCPack.cmake | |
parent | c05f8aa70ed5837b75211483bddd9ae27012cd12 (diff) | |
download | CMake-87c22309b844176df1250f37ecef418b6856ddd6.zip CMake-87c22309b844176df1250f37ecef418b6856ddd6.tar.gz CMake-87c22309b844176df1250f37ecef418b6856ddd6.tar.bz2 |
ENH: change CPACK_CREATE_DESKTOP_LINKS to something that can handle spaces in the name of the exectuable
Diffstat (limited to 'CMakeCPack.cmake')
-rw-r--r-- | CMakeCPack.cmake | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/CMakeCPack.cmake b/CMakeCPack.cmake index f511895..24eb061 100644 --- a/CMakeCPack.cmake +++ b/CMakeCPack.cmake @@ -2,7 +2,10 @@ IF(EXISTS "${CMAKE_ROOT}/Modules/CPack.cmake") IF(EXISTS "${CMAKE_ROOT}/Modules/InstallRequiredSystemLibraries.cmake") SET(CMAKE_INSTALL_MFC_LIBRARIES 1) - INCLUDE(InstallRequiredSystemLibraries) + OPTION(CMAKE_INSTALL_DEBUG_LIBRARIES + "Install Microsoft runtime debug libraries with CMake." FALSE) + MARK_AS_ADVANCED(CMAKE_INSTALL_DEBUG_LIBRARIES) + INCLUDE(${CMake_SOURCE_DIR}/Modules/InstallRequiredSystemLibraries.cmake) ENDIF(EXISTS "${CMAKE_ROOT}/Modules/InstallRequiredSystemLibraries.cmake") CONFIGURE_FILE("${CMake_SOURCE_DIR}/CMakeCPackOptions.cmake.in" "${CMake_BINARY_DIR}/CMakeCPackOptions.cmake" @ONLY) |