Skip to content

Commit

Permalink
support static addons (#129)
Browse files Browse the repository at this point in the history
  • Loading branch information
eagleoflqj authored Dec 7, 2024
1 parent bc60a06 commit 2a5ff6d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ else()
add_definitions(-DFCITX_RIME_NO_DBUS)
endif()

add_library(rime MODULE ${RIME_SOURCES})
add_fcitx5_addon(rime ${RIME_SOURCES})
target_link_libraries(rime ${RIME_LINK_LIBRARIES})
install(TARGETS rime DESTINATION "${CMAKE_INSTALL_LIBDIR}/fcitx5")
fcitx5_translate_desktop_file(rime.conf.in rime.conf)
Expand Down
2 changes: 1 addition & 1 deletion src/rime-addon.conf.in.in
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Comment=Rime Wrapper For Fcitx
Category=InputMethod
Version=@PROJECT_VERSION@
Library=export:librime
Type=SharedLibrary
Type=@FCITX_ADDON_TYPE@
OnDemand=True
Configurable=True

Expand Down

0 comments on commit 2a5ff6d

Please sign in to comment.