diff options
author | Toni Saario <toni.saario@qt.io> | 2022-03-24 15:20:16 +0200 |
---|---|---|
committer | Toni Saario <toni.saario@qt.io> | 2022-03-25 12:53:55 +0200 |
commit | 917ec6c2d4b9ed814a2da9c4d553fc16ee8f7d1e (patch) | |
tree | 8451ff556254719729d3bde0cc73e04e9f17096b /coin/instructions | |
parent | 5677d79bf28ba526bdee8851be3c5781ef8736f6 (diff) |
coin: Apply WarningsAreErrors feature to target configurations
Makes WarningsAreErrors feature meaningful on cross-compilations.
Change-Id: I777e44a64757d1fcd5f8a49eae0e5322b92ac53b
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'coin/instructions')
-rw-r--r-- | coin/instructions/prepare_building_env.yaml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/coin/instructions/prepare_building_env.yaml b/coin/instructions/prepare_building_env.yaml index 00c0de1869..7909f52759 100644 --- a/coin/instructions/prepare_building_env.yaml +++ b/coin/instructions/prepare_building_env.yaml @@ -347,6 +347,9 @@ instructions: - type: AppendToEnvironmentVariable variableName: COMMON_CMAKE_ARGS variableValue: " -DWARNINGS_ARE_ERRORS=ON" + - type: AppendToEnvironmentVariable + variableName: COMMON_TARGET_CMAKE_ARGS + variableValue: " -DWARNINGS_ARE_ERRORS=ON" enable_if: condition: property property: features |