diff options
author | Domen Vrankar <domen.vrankar@gmail.com> | 2016-09-19 22:41:33 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-09-27 12:18:21 (GMT) |
commit | b78fcf0d2f3f8144d167068fcfa834ea8062ebf5 (patch) | |
tree | 0cb904cbc8ef7801bd8aba18bbb642987cf18374 /Modules/CPack.cmake | |
parent | 555ef1e235e62236870b27adb1b6c384313bd792 (diff) | |
download | CMake-b78fcf0d2f3f8144d167068fcfa834ea8062ebf5.zip CMake-b78fcf0d2f3f8144d167068fcfa834ea8062ebf5.tar.gz CMake-b78fcf0d2f3f8144d167068fcfa834ea8062ebf5.tar.bz2 |
CPack/RPM debuginfo packages must contain sources
Issue #15668 fix was missing relevant source
files in debuginfo package.
Diffstat (limited to 'Modules/CPack.cmake')
-rw-r--r-- | Modules/CPack.cmake | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/CPack.cmake b/Modules/CPack.cmake index 99f22ec..50d9fc3 100644 --- a/Modules/CPack.cmake +++ b/Modules/CPack.cmake @@ -604,6 +604,8 @@ if(CMAKE_OSX_SYSROOT) _cpack_set_default(CPACK_OSX_SYSROOT "${_CMAKE_OSX_SYSROOT_PATH}") endif() +_cpack_set_default(CPACK_BUILD_SOURCE_DIRS "${CMAKE_SOURCE_DIR};${CMAKE_BINARY_DIR}") + if(DEFINED CPACK_COMPONENTS_ALL) if(CPACK_MONOLITHIC_INSTALL) message("CPack warning: both CPACK_COMPONENTS_ALL and CPACK_MONOLITHIC_INSTALL have been set.\nDefaulting to a monolithic installation.") |