summaryrefslogtreecommitdiff
path: root/CMakeCPack.cmake
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2007-11-07 13:11:58 -0500
committerBill Hoffman <bill.hoffman@kitware.com>2007-11-07 13:11:58 -0500
commit87c22309b844176df1250f37ecef418b6856ddd6 (patch)
tree51046edc7411a3d5a8ce62a92f6f9f6d758dbbab /CMakeCPack.cmake
parentc05f8aa70ed5837b75211483bddd9ae27012cd12 (diff)
downloadcmake-87c22309b844176df1250f37ecef418b6856ddd6.tar.gz
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.cmake5
1 files changed, 4 insertions, 1 deletions
diff --git a/CMakeCPack.cmake b/CMakeCPack.cmake
index f511895d35..24eb061d27 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)