summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichal Klocek <michal.klocek@qt.io>2021-09-13 08:37:46 +0200
committerMichal Klocek <michal.klocek@qt.io>2021-09-26 11:06:24 +0000
commitbaf1f70c917e31e44a3b2e08d3ee36bbce825750 (patch)
tree2e32445131ed9764e5b60b66c7b69eca44bd25af
parent2e268202d4f1ae14698aff3eabb1d60e6d04128d (diff)
Fix no webrtc builds
In case of ozone x11 backend we need x11, which is pulled by use_webrtc_x11, however in case of no webrtc build we lack x11 dependency. Add missing dependency. Change-Id: I19eada846115073251cdf85ce1fabd4d1d2baf2e Reviewed-by: Michael BrĂ¼ning <michael.bruning@qt.io> (cherry picked from commit 630062f1189b95689e28e40c5c76d95d3214d123)
-rw-r--r--src/core/ozone/BUILD.gn8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/core/ozone/BUILD.gn b/src/core/ozone/BUILD.gn
index 48d68902f..e0f9b8a41 100644
--- a/src/core/ozone/BUILD.gn
+++ b/src/core/ozone/BUILD.gn
@@ -26,9 +26,13 @@ source_set("qt") {
]
defines = [ "OZONE_IMPLEMENTATION" ]
-
+ libs = []
if (use_xkbcommon) {
configs += [ ":xkbcommon" ]
- libs = [ "xkbfile" ]
+ libs += [ "xkbfile" ]
+ }
+
+ if (ozone_platform_x11) {
+ libs += [ "X11" ]
}
}