Increase severity

From user feedback we learned that it is preferred to have this
condition rather fail fast than just warn.
This commit is contained in:
Dennis Klein 2020-01-16 19:11:36 +01:00
parent 9f8a3553ba
commit c180300303
No known key found for this signature in database
GPG Key ID: 08E62D23FA0ECBBC

View File

@ -522,7 +522,7 @@ macro(fairmq_build_option option description)
if(${__requires_condition__})
else()
if(${option})
message(WARNING "Cannot enable build option ${option}, depending option is not set: ${__requires_condition__}")
message(FATAL_ERROR "Cannot enable build option ${option}, depending option is not set: ${__requires_condition__}")
endif()
endif()
endforeach()