File: CMakeLists.txt

package info (click to toggle)
fcitx5-hangul 5.0.2-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 236 kB
  • sloc: cpp: 621; sh: 28; ansic: 9; makefile: 5
file content (12 lines) | stat: -rw-r--r-- 664 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
set( fcitx_hangul_sources
    engine.cpp
    )

add_library(hangul MODULE ${fcitx_hangul_sources})
target_link_libraries(hangul Fcitx5::Core Fcitx5::Config PkgConfig::Hangul)
set_target_properties(hangul PROPERTIES PREFIX "")
install(TARGETS hangul DESTINATION "${CMAKE_INSTALL_LIBDIR}/fcitx5")
fcitx5_translate_desktop_file(hangul.conf.in hangul.conf)
fcitx5_translate_desktop_file(hangul-addon.conf.in hangul-addon.conf)
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/hangul.conf" DESTINATION "${FCITX_INSTALL_PKGDATADIR}/inputmethod")
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/hangul-addon.conf" RENAME hangul.conf DESTINATION "${FCITX_INSTALL_PKGDATADIR}/addon")