X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=thumbnailer%2FCMakeLists.txt;h=4d3cd8217c1eab4b50d8d52698206cb56ef455c6;hb=c3302003093710ee247ad84c0fe2ef3c579d417f;hp=a56b83915407fa8c2955e0e26e9c536350adf948;hpb=a97b0c01710b048ff8e8640378457f410f77321c;p=kdenlive diff --git a/thumbnailer/CMakeLists.txt b/thumbnailer/CMakeLists.txt index a56b8391..4d3cd821 100644 --- a/thumbnailer/CMakeLists.txt +++ b/thumbnailer/CMakeLists.txt @@ -1,17 +1,21 @@ +set(westleypreview_SRCS westleypreview.cpp) +include_directories( + ${KDE4_INCLUDES} + ${LIBMLT_INCLUDE_DIR} + ${LIBMLTPLUS_INCLUDE_DIR} +) -########### next target ############### +kde4_add_plugin(westleypreview ${westleypreview_SRCS}) -set(westleypreview_PART_SRCS westleypreview.cpp) +include(${QT_USE_FILE}) -kde4_add_plugin(westleypreview ${westleypreview_PART_SRCS}) - -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}) -