From 7306db2e5c9f6485f412f8dcafe830e46c294873 Mon Sep 17 00:00:00 2001 From: Nicholas Guriev Date: Sat, 20 Aug 2022 11:56:07 +0300 Subject: [PATCH] Seek Wayland protocols definitions in a system-wide location first If not found, fallback to vendored ones. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 9dbebcb9..ba4cc43d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -281,7 +281,7 @@ elseif(LINUX) qt_generate_wayland_protocol_client_sources(lib_ui FILES - ${third_party_loc}/wayland-protocols/stable/xdg-shell/xdg-shell.xml + ${WaylandProtocols_DATADIR}/stable/xdg-shell/xdg-shell.xml ) target_link_libraries(lib_ui