mirror of
https://github.com/MariaDB/server.git
synced 2026-05-09 16:44:29 +02:00
fix srpm builds after fe065f8d90
This commit is contained in:
parent
214cad8c3b
commit
71027eceac
1 changed files with 2 additions and 1 deletions
|
|
@ -18,7 +18,8 @@ macro(restore WHAT)
|
|||
endmacro()
|
||||
|
||||
foreach (WHAT SUMMARY DESCRIPTION)
|
||||
if(NOT CPACK_RPM_${CPACK_RPM_PACKAGE_COMPONENT}_PACKAGE_${WHAT})
|
||||
if(CPACK_RPM_PACKAGE_COMPONENT AND
|
||||
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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue