kde-extraapps/thumbnailers/ffmpegthumbs/CMakeLists.txt
Ivailo Monev 7fab52b62e thumbnailers: use the C API of FFmpegThumbnailer
the C API does not throw exceptions (or should not), it is wrapper around
the C++ API tho (usually it is the opposite)

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-12-18 12:48:17 +00:00

22 lines
478 B
CMake

project(ffmpegthumbs)
include_directories(
${FFMPEGTHUMBNAILER_INCLUDES}
)
set(ffmpegthumbs_PART_SRCS
ffmpegthumbnailer.cpp
)
kde4_add_plugin(ffmpegthumbs ${ffmpegthumbs_PART_SRCS})
target_link_libraries(ffmpegthumbs
${KDE4_KIO_LIBS}
${FFMPEGTHUMBNAILER_LIBRARIES}
)
install(TARGETS ffmpegthumbs DESTINATION ${KDE4_PLUGIN_INSTALL_DIR})
########### install files ###############
install(FILES ffmpegthumbs.desktop DESTINATION ${KDE4_SERVICES_INSTALL_DIR})