Browse Source

BUG: Prevent stripping of sources

Andy Cedilnik 19 years ago
parent
commit
a90e97e970
2 changed files with 2 additions and 0 deletions
  1. 1 0
      CMakeLists.txt
  2. 1 0
      Modules/CPack.cmake

+ 1 - 0
CMakeLists.txt

@@ -272,6 +272,7 @@ IF(EXISTS "${CMAKE_ROOT}/Modules/CPack.cmake")
     SET(CPACK_NSIS_MODIFY_PATH ON)
   ELSE(WIN32 AND NOT UNIX)
     SET(CPACK_STRIP_FILES "bin/ccmake;bin/cmake;bin/cpack;bin/ctest")
+    SET(CPACK_SOURCE_STRIP_FILES "")
     SET(CPACK_PACKAGE_EXECUTABLES "ccmake" "CMake")
   ENDIF(WIN32 AND NOT UNIX)
   INCLUDE(CPack)

+ 1 - 0
Modules/CPack.cmake

@@ -121,6 +121,7 @@ SET(CPACK_GENERATOR "${CPACK_SOURCE_GENERATOR}")
 SET(CPACK_TOPLEVEL_TAG "${CPACK_SOURCE_TOPLEVEL_TAG}")
 SET(CPACK_PACKAGE_FILE_NAME "${CPACK_SOURCE_PACKAGE_FILE_NAME}")
 SET(CPACK_IGNORE_FILES "${CPACK_SOURCE_IGNORE_FILES}")
+SET(CPACK_STRIP_FILES "${CPACK_SOURCE_STRIP_FILES}")
 
 cpack_encode_variables()
 CONFIGURE_FILE("${cpack_source_input_file}"