File 0001-Fix-xkbcommon-includes.patch of Package miriway
From f1e7ce28cbc9a9043f8fc1f32d4dbf6378e682f5 Mon Sep 17 00:00:00 2001
From: Shawn W Dunn <sfalken@opensuse.org>
Date: Thu, 4 Sep 2025 08:17:31 -0700
Subject: [PATCH] Fix xkbcommon includes
---
CMakeLists.txt | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index dc1e4be..3866bea 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -35,7 +35,8 @@ add_library(miriwaycommon STATIC
miriway_documenting_store.h
)
-target_include_directories(miriwaycommon PUBLIC SYSTEM ${MIRAL_INCLUDE_DIRS} ${MIRWAYLAND_INCLUDE_DIRS})
+target_include_directories(miriwaycommon PUBLIC SYSTEM ${MIRAL_INCLUDE_DIRS}
+${MIRWAYLAND_INCLUDE_DIRS} ${XKBCOMMON_INCLUDE_DIRS})
target_link_libraries( miriwaycommon PUBLIC ${MIRAL_LDFLAGS} ${MIRWAYLAND_LDFLAGS} ${XKBCOMMON_LIBRARIES})
target_compile_definitions(miriwaycommon PRIVATE MIR_LOG_COMPONENT="miriway")
@@ -50,7 +51,8 @@ add_executable(miriway-run-shell
miriway-run-shell.cpp
)
target_link_libraries(miriway-run-shell ${MIRAL_LDFLAGS})
-target_include_directories(miriway-run-shell PUBLIC SYSTEM ${MIRAL_INCLUDE_DIRS})
+target_include_directories(miriway-run-shell PUBLIC SYSTEM ${MIRAL_INCLUDE_DIRS}
+${XKBCOMMON_INCLUDE_DIRS})
target_compile_definitions(miriway-run-shell PRIVATE MIR_LOG_COMPONENT="miriway")
add_custom_target(miriway ALL
--
2.51.0