aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDominik Holland <dominik.holland@qt.io>2021-04-26 14:26:05 +0200
committerDominik Holland <dominik.holland@qt.io>2021-05-10 11:23:18 +0200
commit7f599b1856bd5ba823c8ad63e2ca7e45b71d267e (patch)
tree0d40be1b726233e558dfa75d7e7652b387f9b82a
parentc25b7a0b2c41508510855547e10a04df918197d4 (diff)
coin: Set Python3_ROOT_DIR when building the module
Change-Id: Ieb41f5169dd6ea2b7cdc95e3cf06da82318d375e Reviewed-by: Robert Griebl <robert.griebl@qt.io>
-rw-r--r--coin/module_config.yaml10
1 files changed, 9 insertions, 1 deletions
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"