aboutsummaryrefslogtreecommitdiff
path: root/src/platform/gui/xcb/CMakeLists.txt
diff options
context:
space:
mode:
authorYuqian Yang <crupest@crupest.life>2025-10-05 16:39:31 +0800
committerYuqian Yang <crupest@crupest.life>2025-10-05 16:39:31 +0800
commitf502391ceb2fc7fd441718d2152ef14e2ec24973 (patch)
treeb25b50c7eaaf3309723858098ea113a959eaa407 /src/platform/gui/xcb/CMakeLists.txt
parent047e0eba34c669ff71535602c09edec587912059 (diff)
downloadcru-f502391ceb2fc7fd441718d2152ef14e2ec24973.tar.gz
cru-f502391ceb2fc7fd441718d2152ef14e2ec24973.tar.bz2
cru-f502391ceb2fc7fd441718d2152ef14e2ec24973.zip
Use xkb.
Diffstat (limited to 'src/platform/gui/xcb/CMakeLists.txt')
-rw-r--r--src/platform/gui/xcb/CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/platform/gui/xcb/CMakeLists.txt b/src/platform/gui/xcb/CMakeLists.txt
index 5adeb923..9ae1019d 100644
--- a/src/platform/gui/xcb/CMakeLists.txt
+++ b/src/platform/gui/xcb/CMakeLists.txt
@@ -2,6 +2,7 @@ find_library(LIBRARY_XCB xcb REQUIRED)
find_library(LIBRARY_XCB_CURSOR xcb-cursor REQUIRED)
find_library(LIBRARY_XCB_IMDKIT xcb-imdkit REQUIRED)
find_library(LIBRARY_XKBCOMMON xkbcommon REQUIRED)
+find_library(LIBRARY_XKBCOMMON_X11 xkbcommon-x11 REQUIRED)
add_library(CruPlatformGuiXcb
Cursor.cpp
InputMethod.cpp
@@ -11,5 +12,6 @@ add_library(CruPlatformGuiXcb
)
target_link_libraries(CruPlatformGuiXcb PUBLIC
CruPlatformGui CruPlatformGraphicsCairo
- ${LIBRARY_XCB} ${LIBRARY_XCB_CURSOR} ${LIBRARY_XCB_IMDKIT} ${LIBRARY_XCB_XKBCOMMON}
+ "${LIBRARY_XCB}" "${LIBRARY_XCB_CURSOR}" "${LIBRARY_XCB_IMDKIT}"
+ "${LIBRARY_XKBCOMMON}" "${LIBRARY_XKBCOMMON_X11}"
)