diff --git a/modules/fullwidth/CMakeLists.txt b/modules/fullwidth/CMakeLists.txt index 6e275bd..2dabd86 100644 --- a/modules/fullwidth/CMakeLists.txt +++ b/modules/fullwidth/CMakeLists.txt @@ -1,10 +1,10 @@ -set(FULLWIDTH_SOURCES - fullwidth.cpp -) -add_fcitx5_addon(fullwidth ${FULLWIDTH_SOURCES}) -target_link_libraries(fullwidth Fcitx5::Core Fcitx5::Config Fcitx5::Module::Notifications) -install(TARGETS fullwidth DESTINATION "${CMAKE_INSTALL_LIBDIR}/fcitx5") +# set(FULLWIDTH_SOURCES +# fullwidth.cpp +# ) +# add_fcitx5_addon(fullwidth ${FULLWIDTH_SOURCES}) +# target_link_libraries(fullwidth Fcitx5::Core Fcitx5::Config Fcitx5::Module::Notifications) +# install(TARGETS fullwidth DESTINATION "${CMAKE_INSTALL_LIBDIR}/fcitx5") configure_file(fullwidth.conf.in.in fullwidth.conf.in) fcitx5_translate_desktop_file("${CMAKE_CURRENT_BINARY_DIR}/fullwidth.conf.in" fullwidth.conf) -install(FILES "${CMAKE_CURRENT_BINARY_DIR}/fullwidth.conf" DESTINATION "${FCITX_INSTALL_PKGDATADIR}/addon" - COMPONENT config) +# install(FILES "${CMAKE_CURRENT_BINARY_DIR}/fullwidth.conf" DESTINATION "${FCITX_INSTALL_PKGDATADIR}/addon" +# COMPONENT config) diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 994a4d1..f354bfd 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -17,10 +17,10 @@ target_link_libraries(testpinyinhelper Fcitx5::Core Fcitx5::Module::PinyinHelper add_dependencies(testpinyinhelper pinyin pinyin.conf.in-fmt pinyinhelper pinyinhelper.conf.in-fmt) add_test(NAME testpinyinhelper COMMAND testpinyinhelper) -add_executable(testfullwidth testfullwidth.cpp) -target_link_libraries(testfullwidth Fcitx5::Core Fcitx5::Module::TestFrontend Fcitx5::Module::TestIM Pthread::Pthread) -add_dependencies(testfullwidth fullwidth fullwidth.conf.in-fmt) -add_test(NAME testfullwidth COMMAND testfullwidth) +# add_executable(testfullwidth testfullwidth.cpp) +# target_link_libraries(testfullwidth Fcitx5::Core Fcitx5::Module::TestFrontend Fcitx5::Module::TestIM Pthread::Pthread) +# add_dependencies(testfullwidth fullwidth fullwidth.conf.in-fmt) +# add_test(NAME testfullwidth COMMAND testfullwidth) add_subdirectory(inputmethod) add_executable(testchttrans testchttrans.cpp)