diff --git a/coin/instructions/prepare_building_env.yaml b/coin/instructions/prepare_building_env.yaml index a3ac5c3f0b8..373a2ea1153 100644 --- a/coin/instructions/prepare_building_env.yaml +++ b/coin/instructions/prepare_building_env.yaml @@ -473,6 +473,26 @@ instructions: property: features contains_value: UseConfigure + # SBOM + - type: Group + enable_if: + condition: property + property: features + contains_value: GenerateSBOM + instructions: + - type: AppendToEnvironmentVariable + variableName: COMMON_CMAKE_ARGS + variableValue: " -DQT_GENERATE_SBOM=ON" + - type: AppendToEnvironmentVariable + variableName: COMMON_NON_QTBASE_CMAKE_ARGS + variableValue: " -DQT_GENERATE_SBOM=ON" + - type: AppendToEnvironmentVariable + variableName: COMMON_TARGET_CMAKE_ARGS + variableValue: " -DQT_GENERATE_SBOM=ON" + - type: AppendToEnvironmentVariable + variableName: COMMON_NON_QTBASE_TARGET_CMAKE_ARGS + variableValue: " -DQT_GENERATE_SBOM=ON" + - type: Group instructions: - type: AppendToEnvironmentVariable