File: CMakeLists.txt

package info (click to toggle)
ibus-unikey 0.7.0~beta1-1
  • links: PTS
  • area: main
  • in suites: bookworm, bullseye, sid, trixie
  • size: 672 kB
  • sloc: cpp: 7,042; xml: 63; makefile: 6
file content (20 lines) | stat: -rw-r--r-- 546 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
find_package(PkgConfig)
pkg_check_modules(IBUS REQUIRED ibus-1.0)

add_subdirectory(config)

add_executable(ibus-engine-unikey
    main.cpp
    engine.cpp
)
target_link_libraries(ibus-engine-unikey
    ukengine
    unikey-config
    ${IBUS_LIBRARIES}
)
target_include_directories(ibus-engine-unikey PUBLIC ${IBUS_INCLUDE_DIRS})

configure_file(unikey.xml.in unikey.xml)

install(TARGETS ibus-engine-unikey DESTINATION ${LIBEXECDIR})
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/unikey.xml DESTINATION "${CMAKE_INSTALL_FULL_DATADIR}/ibus/component")