mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-15 01:26:47 +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:
@@ -522,7 +522,7 @@ macro(fairmq_build_option option description)
|
|||||||
if(${__requires_condition__})
|
if(${__requires_condition__})
|
||||||
else()
|
else()
|
||||||
if(${option})
|
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()
|
||||||
endif()
|
endif()
|
||||||
endforeach()
|
endforeach()
|
||||||
|
Reference in New Issue
Block a user