Warning, /plasma/plasma-desktop/applets/kimpanel/backend/ibus/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 if(IBUS_FOUND AND GLIB2_FOUND AND GOBJECT_FOUND)
0002     configure_file(config-kimpanel.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-kimpanel.h)
0003     find_package(XCB COMPONENTS XCB KEYSYMS)
0004 
0005     if (XCB_XCB_FOUND AND XCB_KEYSYMS_FOUND)
0006         set(CMAKE_C_STANDARD 99)
0007         add_executable(kimpanel-ibus-panel
0008             ibus15/xkblayoutmanager.cpp
0009             ibus15/gtkaccelparse_p.c
0010             ibus15/gdkkeynames_p.c
0011             ibus15/app.cpp
0012             ibus15/enginemanager.cpp
0013             ibus15/main.cpp
0014             ibus15/panel.cpp
0015             ibus15/propertymanager.cpp)
0016         target_compile_definitions(kimpanel-ibus-panel PRIVATE -DQT_NO_KEYWORDS)
0017         target_link_libraries(kimpanel-ibus-panel GLIB2::GLIB2 PkgConfig::IBUS PkgConfig::GOBJECT Qt::Core Qt::DBus Qt::Gui Qt::GuiPrivate XCB::KEYSYMS)
0018         # configure_file(${CMAKE_CURRENT_SOURCE_DIR}/kimpanel.xml.in ${CMAKE_CURRENT_BINARY_DIR}/kimpanel.xml @ONLY)
0019         # install(FILES ${CMAKE_CURRENT_BINARY_DIR}/kimpanel.xml DESTINATION ${CMAKE_INSTALL_PREFIX}/share/ibus/component)
0020 
0021         target_include_directories(kimpanel-ibus-panel PRIVATE ${CMAKE_CURRENT_BINARY_DIR})
0022 
0023         add_executable(kimpanel-ibus-panel-launcher launcher.cpp)
0024         target_link_libraries(kimpanel-ibus-panel-launcher Qt::Core Qt::DBus)
0025         install(TARGETS kimpanel-ibus-panel kimpanel-ibus-panel-launcher DESTINATION ${KDE_INSTALL_LIBEXECDIR})
0026     endif()
0027 endif()
0028