From 7f599b1856bd5ba823c8ad63e2ca7e45b71d267e Mon Sep 17 00:00:00 2001 From: Dominik Holland Date: Mon, 26 Apr 2021 14:26:05 +0200 Subject: coin: Set Python3_ROOT_DIR when building the module Change-Id: Ieb41f5169dd6ea2b7cdc95e3cf06da82318d375e Reviewed-by: Robert Griebl --- coin/module_config.yaml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/coin/module_config.yaml b/coin/module_config.yaml index 16d158c..aa5cb56 100644 --- a/coin/module_config.yaml +++ b/coin/module_config.yaml @@ -6,7 +6,15 @@ accept_configuration: instructions: Build: - - !include "{{qt/qtbase}}/coin_module_build_template_v2.yaml" + - type: AppendToEnvironmentVariable + variableName: NON_QTBASE_CONFIGURE_ARGS + variableValue: " -DPython3_ROOT_DIR={{.Env.PYTHON3_PATH}}" + - type: AppendToEnvironmentVariable + variableName: NON_QTBASE_TARGET_CONFIGURE_ARGS + variableValue: " -DPython3_ROOT_DIR={{.Env.PYTHON3_PATH}}" + - type: Group + instructions: + - !include "{{qt/qtbase}}/coin_module_build_template_v2.yaml" Test: - !include "{{qt/qtbase}}/coin_module_test_template_v3.yaml" -- cgit v1.2.3