diff options
author | Harry Mallon <hjmallon@gmail.com> | 2019-04-30 09:46:57 (GMT) |
---|---|---|
committer | Harry Mallon <hjmallon@gmail.com> | 2019-04-30 09:52:53 (GMT) |
commit | d9beea0ccacc8c3cdc14b71b660a73a458f09650 (patch) | |
tree | b045c075f94623a588b52d93ba4527dbd3959d96 | |
parent | 4eebc52eca3d551423d7e512284a3b71e13d30a0 (diff) | |
download | CMake-d9beea0ccacc8c3cdc14b71b660a73a458f09650.zip CMake-d9beea0ccacc8c3cdc14b71b660a73a458f09650.tar.gz CMake-d9beea0ccacc8c3cdc14b71b660a73a458f09650.tar.bz2 |
CPackRPM: Hide CPACK_RPM_ROOTDIR debug if not CPACK_RPM_PACKAGE_DEBUG
-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) |