summaryrefslogtreecommitdiffstats
path: root/src/common-lib/configure.cmake
diff options
context:
space:
mode:
authorSamuli Piippo <[email protected]>2025-05-20 05:23:34 +0000
committerSamuli Piippo <[email protected]>2025-06-03 11:39:00 +0300
commitdb53736b5209cb38ff80e033690ba844e38fd15b (patch)
tree536650e23003b1c0091d4d35a64936ce1a97728f /src/common-lib/configure.cmake
parentef51db9d246475f10c6d37754211942dc30663f1 (diff)
Add configure option for bubblewrap containerHEADdev
Bubblewrap container has runtime dependency for bwrap, adding separate config for the feature lets us disable it if bwrap is not available. Task-number: QTBUG-136961 Pick-to: 6.10 6.9 6.8 Change-Id: I03c3ce4e351699bbeb6d08a002b36d774c1fa9b5 Reviewed-by: Robert Griebl <[email protected]>
Diffstat (limited to 'src/common-lib/configure.cmake')
-rw-r--r--src/common-lib/configure.cmake7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/common-lib/configure.cmake b/src/common-lib/configure.cmake
index 8940b4de..a0b7d2c6 100644
--- a/src/common-lib/configure.cmake
+++ b/src/common-lib/configure.cmake
@@ -53,6 +53,13 @@ qt_feature("am-multi-process" PUBLIC
DISABLE INPUT_force_mode STREQUAL 'single'
)
+qt_feature("am-bubblewrap-container" PUBLIC
+ LABEL "Bubblewrap container support"
+ CONDITION LINUX AND QT_FEATURE_am_multi_process
+ ENABLE INPUT_bubblewrap STREQUAL 'yes'
+ DISABLE INPUT_bubblewrap STREQUAL 'no'
+)
+
qt_feature("am-installer" PUBLIC
LABEL "Enable the installer component"
CONDITION QT_FEATURE_ssl AND NOT IOS