1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
  
     | 
    
      From: James Lu <james@overdrivenetworks.com>
Date: Sun, 11 Aug 2024 11:47:52 -0700
Subject: Unvendor wayland-protocols
Change WAYLAND_PROTOCOLS_BASE to point to the system wide /usr/share/wayland-protocols/
Forwarded: not-needed
---
 client/displayservers/Wayland/protocol/CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/client/displayservers/Wayland/protocol/CMakeLists.txt b/client/displayservers/Wayland/protocol/CMakeLists.txt
index d262af2..cd65edb 100644
--- a/client/displayservers/Wayland/protocol/CMakeLists.txt
+++ b/client/displayservers/Wayland/protocol/CMakeLists.txt
@@ -27,7 +27,7 @@ macro(wayland_generate protocol_file output_file)
   target_sources(wayland_protocol PRIVATE "${output_file}.h" "${output_file}.c")
 endmacro()
 
-set(WAYLAND_PROTOCOLS_BASE "${PROJECT_TOP}/repos/wayland-protocols")
+set(WAYLAND_PROTOCOLS_BASE "/usr/share/wayland-protocols")
 file(MAKE_DIRECTORY "${CMAKE_BINARY_DIR}/wayland")
 include_directories("${CMAKE_BINARY_DIR}/wayland")
 wayland_generate(
 
     |