diff --git a/plugins/CMakeLists.txt b/plugins/CMakeLists.txt index cc61f5aee..2c721b446 100644 --- a/plugins/CMakeLists.txt +++ b/plugins/CMakeLists.txt @@ -18,6 +18,7 @@ foreach(file ${plugin_files}) add_subdirectory(${file}) if(BUILD_MERGED_PLUGINS) set(plugins_objs ${plugins_objs} ${plugin_objs}) + list(REMOVE_ITEM plugin_deps ${rime_library}) set(plugins_deps ${plugins_deps} ${plugin_deps}) set(plugins_modules ${plugins_modules} ${plugin_modules}) else()