X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=thumbnailer%2FCMakeLists.txt;h=4d3cd8217c1eab4b50d8d52698206cb56ef455c6;hb=c3302003093710ee247ad84c0fe2ef3c579d417f;hp=64c6d1ae89aa64654a1fc544d44d5453913cea84;hpb=a956ade6f5864410de7bc494eb3f3010747af76e;p=kdenlive diff --git a/thumbnailer/CMakeLists.txt b/thumbnailer/CMakeLists.txt index 64c6d1ae..4d3cd821 100644 --- a/thumbnailer/CMakeLists.txt +++ b/thumbnailer/CMakeLists.txt @@ -1,23 +1,21 @@ +set(westleypreview_SRCS westleypreview.cpp) - -########### next target ############### -include_directories ( - ${KDE4_INCLUDES} - ${CMAKE_SOURCE_DIR} - ${CMAKE_BINARY_DIR} +include_directories( + ${KDE4_INCLUDES} + ${LIBMLT_INCLUDE_DIR} + ${LIBMLTPLUS_INCLUDE_DIR} ) +kde4_add_plugin(westleypreview ${westleypreview_SRCS}) -set(westleypreview_PART_SRCS westleypreview.cpp) - -kde4_add_plugin(westleypreview ${westleypreview_PART_SRCS}) +include(${QT_USE_FILE}) -target_link_libraries(westleypreview ${QT_QTCORE_LIBRARY} ${QT_QTGUI_LIBRARY} ${KDE4_KDEUI_LIBS} ${KDE4_KDECORE_LIBS}) +target_link_libraries(westleypreview + ${KDE4_KIO_LIBS} + ${QT_LIBRARIES} + ${LIBMLT_LIBRARY} + ${LIBMLTPLUS_LIBRARY} +) install(TARGETS westleypreview DESTINATION ${PLUGIN_INSTALL_DIR}) - - -########### install files ############### - install(FILES westleypreview.desktop DESTINATION ${SERVICES_INSTALL_DIR}) -