File 0001-protocols-includedir.patch of Package wayland-vpets
Index: wayland-vpets-2.4.0.+git20250911.22f0419/CMakeLists.txt
===================================================================
--- wayland-vpets-2.4.0.+git20250911.22f0419.orig/CMakeLists.txt
+++ wayland-vpets-2.4.0.+git20250911.22f0419/CMakeLists.txt
@@ -33,6 +33,18 @@ endif()
project(bongocat LANGUAGES C CXX VERSION 2.4.0)
+
+# Enable pkg-config
+find_package(PkgConfig REQUIRED)
+
+# Find Wayland and its dependencies
+pkg_check_modules(WAYLAND REQUIRED IMPORTED_TARGET wayland-client)
+pkg_check_modules(WAYLAND_PROTOCOLS REQUIRED IMPORTED_TARGET wayland-protocols)
+
+# Include directories (if needed)
+include_directories(${WAYLAND_INCLUDE_DIRS} ${WAYLAND_PROTOCOLS_INCLUDE_DIRS})
+
+
# Feature Flags
include(CMakeDependentOption)
option(FEATURE_BONGOCAT_EMBEDDED_ASSETS "Include bongocat assets (default)" ON)