diff --git a/src/plugin/CMakeLists.txt b/src/plugin/CMakeLists.txt index 618ea37..cc46a13 100644 --- a/src/plugin/CMakeLists.txt +++ b/src/plugin/CMakeLists.txt @@ -40,24 +40,24 @@ if(USE_NOTEPAD_PLUGIN) # 一个使用引用构建的插件 # include(path/to/plugin.cmake) - # 一个简单的 plantuml 预览插件 - add_framework_plugin(framework-plantuml-preview - framework-plugins/plantuml-preview - framework-plugins/plantuml-preview/nplugin.qrc - ) - if(framework-plantuml-preview_ENABLE) - find_package(Qt5Svg) - target_link_libraries(framework-plantuml-preview Qt5::Svg) - endif(framework-plantuml-preview_ENABLE) + # # 一个简单的 plantuml 预览插件 + # add_framework_plugin(framework-plantuml-preview + # framework-plugins/plantuml-preview + # framework-plugins/plantuml-preview/nplugin.qrc + # ) + # if(framework-plantuml-preview_ENABLE) + # find_package(Qt5Svg) + # target_link_libraries(framework-plantuml-preview Qt5::Svg) + # endif(framework-plantuml-preview_ENABLE) - # 一个简单的 svg 预览插件 - add_framework_plugin(framework-svg-preview - framework-plugins/svg-preview - ) - if(framework-svg-preview_ENABLE) - find_package(Qt5Svg) - target_link_libraries(framework-svg-preview Qt5::Svg) - endif(framework-svg-preview_ENABLE) + # # 一个简单的 svg 预览插件 + # add_framework_plugin(framework-svg-preview + # framework-plugins/svg-preview + # ) + # if(framework-svg-preview_ENABLE) + # find_package(Qt5Svg) + # target_link_libraries(framework-svg-preview Qt5::Svg) + # endif(framework-svg-preview_ENABLE) # 一个简单的插件示例,但依赖于外部的 opencc 项目(基于 git) # add_subdirectory(opencc-demo-plugin)