From 87c22309b844176df1250f37ecef418b6856ddd6 Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Wed, 7 Nov 2007 13:11:58 -0500 Subject: ENH: change CPACK_CREATE_DESKTOP_LINKS to something that can handle spaces in the name of the exectuable --- CMakeCPack.cmake | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'CMakeCPack.cmake') 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) -- cgit v1.2.1