diff options
author | Michal Klocek <michal.klocek@qt.io> | 2021-09-13 08:37:46 +0200 |
---|---|---|
committer | Michal Klocek <michal.klocek@qt.io> | 2021-09-26 11:06:24 +0000 |
commit | baf1f70c917e31e44a3b2e08d3ee36bbce825750 (patch) | |
tree | 2e32445131ed9764e5b60b66c7b69eca44bd25af /src/core/ozone | |
parent | 2e268202d4f1ae14698aff3eabb1d60e6d04128d (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)
Diffstat (limited to 'src/core/ozone')
-rw-r--r-- | src/core/ozone/BUILD.gn | 8 |
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" ] } } |