From 3b7179ff5b6eb1e5343ecb89d5f3c644322c5b43 Mon Sep 17 00:00:00 2001 From: Nicholas Guriev Date: Sat, 13 Aug 2022 13:28:04 +0300 Subject: [PATCH] Seek Wayland protocols definitions in a system-wide location first If not found, fallback to vendored ones. --- CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 912d20e9..0417797b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -286,9 +286,9 @@ elseif (LINUX) if (NOT DESKTOP_APP_DISABLE_WAYLAND_INTEGRATION) qt_generate_wayland_protocol_client_sources(lib_base FILES - ${third_party_loc}/wayland-protocols/staging/xdg-activation/xdg-activation-v1.xml - ${third_party_loc}/wayland-protocols/unstable/xdg-foreign/xdg-foreign-unstable-v2.xml - ${third_party_loc}/wayland-protocols/unstable/idle-inhibit/idle-inhibit-unstable-v1.xml + ${WaylandProtocols_DATADIR}/staging/xdg-activation/xdg-activation-v1.xml + ${WaylandProtocols_DATADIR}/unstable/xdg-foreign/xdg-foreign-unstable-v2.xml + ${WaylandProtocols_DATADIR}/unstable/idle-inhibit/idle-inhibit-unstable-v1.xml ) target_link_libraries(lib_base