diff --git a/filters/words/msword-odf/CMakeLists.txt b/filters/words/msword-odf/CMakeLists.txt index 1cd39d7963a..f60ff554467 100644 --- a/filters/words/msword-odf/CMakeLists.txt +++ b/filters/words/msword-odf/CMakeLists.txt @@ -1,46 +1,46 @@ add_subdirectory(wv2) include_directories( ${ICONV_INCLUDE_DIR} ../../libmso ) set(doc2odt_PART_SRCS MsDocDebug.cpp mswordodfimport.cpp document.cpp conversion.cpp texthandler.cpp paragraph.cpp tablehandler.cpp graphicshandler.cpp drawclient.cpp ) kde_enable_exceptions() add_library(calligra_filter_doc2odt MODULE ${doc2odt_PART_SRCS}) calligra_filter_desktop_to_json(calligra_filter_doc2odt calligra_filter_doc2odt.desktop) -target_link_libraries(calligra_filter_doc2odt kowv2 komain mso) +target_link_libraries(calligra_filter_doc2odt mso kowv2 komain) install(TARGETS calligra_filter_doc2odt DESTINATION ${PLUGIN_INSTALL_DIR}/calligra/formatfilters) if(SHOULD_BUILD_FILEMANAGER_THUMBNAIL) install( FILES words_msword_thumbnail.desktop DESTINATION ${SERVICES_INSTALL_DIR}) endif() if(SHOULD_BUILD_OKULAR_GENERATOR_DOC) kcoreaddons_add_plugin(okularGenerator_doc_calligra JSON libokularGenerator_doc.json INSTALL_NAMESPACE "okular/generators" SOURCES OkularDocGeneratorPlugin.cpp ) target_link_libraries( okularGenerator_doc_calligra kookularGenerator_odt ) install( FILES okularDoc_calligra.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) install( PROGRAMS okularApplication_doc_calligra.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} ) endif()