diff --git a/Telegram/build/docker/centos_env/Dockerfile b/Telegram/build/docker/centos_env/Dockerfile index 2f225d384b..70db984efd 100644 --- a/Telegram/build/docker/centos_env/Dockerfile +++ b/Telegram/build/docker/centos_env/Dockerfile @@ -731,7 +731,9 @@ RUN [ -z "${QT6}" ] || ./configure -prefix "$QT6_PREFIX" \ -dbus-runtime \ -openssl-linked \ -nomake examples \ - -nomake tests + -nomake tests \ + -- \ + -DINPUT_egl_extension_platform_wayland=no RUN [ -z "${QT6}" ] || cmake --build . --parallel RUN [ -z "${QT6}" ] || DESTDIR="$LibrariesPath/qt-cache" cmake --install . diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index 226ce5bd25..e0eb7d6e3b 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -376,7 +376,9 @@ parts: -no-feature-highdpiscaling \ -openssl-linked \ -nomake examples \ - -nomake tests + -nomake tests \ + -- \ + -DINPUT_egl_extension_platform_wayland=no cmake --build . -j$SNAPCRAFT_PARALLEL_BUILD_COUNT DESTDIR="$SNAPCRAFT_PART_INSTALL" cmake --install .