diff options
author | Brad King <brad.king@kitware.com> | 2019-05-02 13:43:52 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2019-05-02 13:44:13 (GMT) |
commit | eef1dacf51ea32b98596608e6d4dab0f18b1457b (patch) | |
tree | bacde6ebaebe1fa49be309734f64385a36da1f8b /Modules | |
parent | e08efc36eb17992f4bb8697b4173ede913aafab4 (diff) | |
parent | d9beea0ccacc8c3cdc14b71b660a73a458f09650 (diff) | |
download | CMake-eef1dacf51ea32b98596608e6d4dab0f18b1457b.zip CMake-eef1dacf51ea32b98596608e6d4dab0f18b1457b.tar.gz CMake-eef1dacf51ea32b98596608e6d4dab0f18b1457b.tar.bz2 |
Merge topic 'cpackrpm.debug'
d9beea0cca CPackRPM: Hide CPACK_RPM_ROOTDIR debug if not CPACK_RPM_PACKAGE_DEBUG
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3271
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/Internal/CPack/CPackRPM.cmake | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Modules/Internal/CPack/CPackRPM.cmake b/Modules/Internal/CPack/CPackRPM.cmake index 26b2517..ffb24e2 100644 --- a/Modules/Internal/CPack/CPackRPM.cmake +++ b/Modules/Internal/CPack/CPackRPM.cmake @@ -1158,7 +1158,9 @@ function(cpack_rpm_generate_package) # Now we may create the RPM build tree structure set(CPACK_RPM_ROOTDIR "${CPACK_TOPLEVEL_DIRECTORY}") - message(STATUS "CPackRPM:Debug: Using CPACK_RPM_ROOTDIR=${CPACK_RPM_ROOTDIR}") + if(CPACK_RPM_PACKAGE_DEBUG) + message("CPackRPM:Debug: Using CPACK_RPM_ROOTDIR=${CPACK_RPM_ROOTDIR}") + endif() # Prepare RPM build tree file(MAKE_DIRECTORY ${CPACK_RPM_ROOTDIR}) file(MAKE_DIRECTORY ${CPACK_RPM_ROOTDIR}/tmp) |