diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2021-11-29 10:33:06 +0200 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2021-11-29 10:33:06 +0200 |
commit | 289721de9aca8cdf3bdef1a010477e2d38eebb8d (patch) | |
tree | 50a9f9ea56a7a0b68210e1061ced47951298d2d9 /cmake/Internal/CPack | |
parent | 9962cda52722b77c2a7e0314bbaa2e4f963f55c1 (diff) | |
parent | f5441ef4dac9f3fd5dfe1bfa25a514715fee649f (diff) | |
download | mariadb-git-289721de9aca8cdf3bdef1a010477e2d38eebb8d.tar.gz |
Merge 10.2 into 10.3
Diffstat (limited to 'cmake/Internal/CPack')
-rw-r--r-- | cmake/Internal/CPack/CPackRPM.cmake | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/cmake/Internal/CPack/CPackRPM.cmake b/cmake/Internal/CPack/CPackRPM.cmake index 92bcc6c6c25..a1040a0161f 100644 --- a/cmake/Internal/CPack/CPackRPM.cmake +++ b/cmake/Internal/CPack/CPackRPM.cmake @@ -17,6 +17,12 @@ macro(restore WHAT) set(CPACK_RPM_PACKAGE_${WHAT} ${orig_CPACK_RPM_PACKAGE_${WHAT}}) endmacro() +foreach (WHAT SUMMARY DESCRIPTION) + if(NOT CPACK_RPM_${CPACK_RPM_PACKAGE_COMPONENT}_PACKAGE_${WHAT}) + message(FATAL_ERROR "CPACK_RPM_${CPACK_RPM_PACKAGE_COMPONENT}_PACKAGE_${WHAT} is not defined") + endif() +endforeach() + set_from_component(LICENSE) set_from_component(VENDOR) |