Warning, /multimedia/kdenlive/thumbnailer-deprecated/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 # SPDX-License-Identifier: BSD-2-Clause
0002 # SPDX-FileCopyrightText: Jean-Baptiste Mardelle <jb@kdenlive.org>
0003 
0004 set(mltpreview_SRCS mltpreview.cpp ../src/lib/localeHandling.cpp)
0005 
0006 include_directories(
0007   ${MLT_INCLUDE_DIR}
0008   ${MLTPP_INCLUDE_DIR}
0009 )
0010 
0011 add_library(mltpreview MODULE ${mltpreview_SRCS})
0012 
0013 
0014 target_link_libraries(mltpreview
0015         Qt${QT_MAJOR_VERSION}::Core
0016         Qt${QT_MAJOR_VERSION}::Gui
0017         KF5::KIOCore
0018         KF5::KIOWidgets
0019   ${MLT_LIBRARIES}
0020   ${MLTPP_LIBRARIES}
0021 )
0022 #FIXME: For some reason the plugin only seems to work if installed in $lib/qt5/plugins and not in $lib/plugins like KF5 recommends
0023 install(TARGETS mltpreview DESTINATION ${KDE_INSTALL_PLUGINDIR})
0024 install(FILES mltpreview.desktop DESTINATION ${KDE_INSTALL_KSERVICESDIR})