diff --git a/CMakeLists.txt b/CMakeLists.txt index 184ff3ab27..c3be256df0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -63,6 +63,11 @@ if (UNIX) find_package(Sigaltstack) find_package(SelfDbg) find_package(Ucontext) + find_package(Fcitx) + if (Fcitx_FOUND) + find_package(DBus1) + find_package(X11) + endif(Fcitx_FOUND) endif (UNIX) find_package(SSE) @@ -182,6 +187,9 @@ if (NOT OPTION_DEDICATED) link_package(Fontconfig TARGET Fontconfig::Fontconfig) link_package(ICU_lx) link_package(ICU_i18n) + link_package(Fcitx) + link_package(DBus1) + link_package(X11) endif (NOT OPTION_DEDICATED) if (APPLE)