diff --git a/coin/instructions/prepare_building_env.yaml b/coin/instructions/prepare_building_env.yaml index 0cbc9c9cae8..0e69bdf3e66 100644 --- a/coin/instructions/prepare_building_env.yaml +++ b/coin/instructions/prepare_building_env.yaml @@ -340,3 +340,13 @@ instructions: property: host.os equals_value: Linux + # Enable warnings are errors + - type: Group + instructions: + - type: AppendToEnvironmentVariable + variableName: CONFIGURE_ARGS + variableValue: " -DWARNINGS_ARE_ERRORS=ON" + enable_if: + condition: property + property: features + contains_value: WarningsAreErrors