diff options
author | Iikka Eklund <iikka.eklund@qt.io> | 2021-06-23 10:04:06 +0300 |
---|---|---|
committer | Iikka Eklund <iikka.eklund@qt.io> | 2021-06-24 05:58:05 +0000 |
commit | 45f3a86bc2868ee3a5d3f4f262543ac9d4435215 (patch) | |
tree | c421e98c53810dc87509e1e88d23df1662784b3b | |
parent | f86514fc90eb4ca68292de5bc82abbc719563929 (diff) |
Support 'QT_BUILD_SINGLE_PACKAGE' in qt-configure-module call
All the leaf module recipes use the 'run_qt_configure_module()'
which now supports passing '-DQT_BUILD_SINGLE_REPO_TARGET_SET'
for 'qt-configure-module(.bat)'.
The argument for '-DQT_BUILD_SINGLE_REPO_TARGET_SET=' is the
Conan package's 'name' attribute which is expected to be always
valid for single repo target build.
Change-Id: I460bef7eb5b48cabcded74c43c66f8a6bef1899b
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
-rw-r--r-- | conanfile.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/conanfile.py b/conanfile.py index 69a569d..8e9e570 100644 --- a/conanfile.py +++ b/conanfile.py @@ -67,6 +67,7 @@ def run_qt_configure_module(conan_file: ConanFile): conan_file.build_folder, " ".join(module_features) if module_features else "", "--", + f"-DQT_BUILD_SINGLE_REPO_TARGET_SET={conan_file.name}", f"-DCMAKE_INSTALL_PREFIX={conan_file.package_folder}", ] ) |