aboutsummaryrefslogtreecommitdiff
path: root/src/platform/gui/xcb/CMakeLists.txt
diff options
context:
space:
mode:
authorYuqian Yang <crupest@crupest.life>2025-09-30 00:16:13 +0800
committerYuqian Yang <crupest@crupest.life>2025-10-03 00:13:54 +0800
commit047e0eba34c669ff71535602c09edec587912059 (patch)
treeed1b98bf2c1451f9cc02b96cd45f4eae00163b6d /src/platform/gui/xcb/CMakeLists.txt
parente903083732b0d4638ac066fc85b030b121d8e7e6 (diff)
downloadcru-047e0eba34c669ff71535602c09edec587912059.tar.gz
cru-047e0eba34c669ff71535602c09edec587912059.tar.bz2
cru-047e0eba34c669ff71535602c09edec587912059.zip
Impl input method for xim 3.
Diffstat (limited to 'src/platform/gui/xcb/CMakeLists.txt')
-rw-r--r--src/platform/gui/xcb/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/platform/gui/xcb/CMakeLists.txt b/src/platform/gui/xcb/CMakeLists.txt
index 35feb8bc..5adeb923 100644
--- a/src/platform/gui/xcb/CMakeLists.txt
+++ b/src/platform/gui/xcb/CMakeLists.txt
@@ -1,7 +1,7 @@
-find_library(LIBRARY_CAIRO cairo REQUIRED)
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)
add_library(CruPlatformGuiXcb
Cursor.cpp
InputMethod.cpp
@@ -11,5 +11,5 @@ add_library(CruPlatformGuiXcb
)
target_link_libraries(CruPlatformGuiXcb PUBLIC
CruPlatformGui CruPlatformGraphicsCairo
- ${LIBRARY_XCB} ${LIBRARY_XCB_CURSOR} ${LIBRARY_XCB_IMDKIT} ${LIBRARY_CAIRO}
+ ${LIBRARY_XCB} ${LIBRARY_XCB_CURSOR} ${LIBRARY_XCB_IMDKIT} ${LIBRARY_XCB_XKBCOMMON}
)