mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-13 08:41:16 +00:00
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:
parent
9f8a3553ba
commit
c180300303
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue
Block a user