summaryrefslogtreecommitdiffstats
path: root/coin
diff options
context:
space:
mode:
Diffstat (limited to 'coin')
-rw-r--r--coin/instructions/prepare_building_env.yaml10
1 files changed, 10 insertions, 0 deletions
diff --git a/coin/instructions/prepare_building_env.yaml b/coin/instructions/prepare_building_env.yaml
index 0cbc9c9cae..0e69bdf3e6 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