kde-extraapps/thumbnailers/raw/CMakeLists.txt
Ivailo Monev 59190d3194 generic: replace installation paths with KDE4_ prefixed
see commit in kdelibs repository

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-02-08 20:12:24 +00:00

25 lines
564 B
CMake

project(rawthumbnail)
## includes and linking
include_directories(${KEXIV2_INCLUDE_DIR} ${KDCRAW_INCLUDE_DIR})
#sources
set(rawthumbnail_SRCS rawcreator.cpp)
kde4_add_plugin(rawthumbnail ${rawthumbnail_SRCS})
## includes and linking
target_link_libraries(rawthumbnail
${KDE4_KIO_LIBS}
${KDE4_KDCRAW_LIBS}
${KDE4_KEXIV2_LIBS}
${KDE4_KDECORE_LIBS}
${QT_QTGUI_LIBRARY}
)
## install the plugin
install(TARGETS rawthumbnail DESTINATION ${KDE4_PLUGIN_INSTALL_DIR})
install(FILES rawthumbnail.desktop DESTINATION ${KDE4_SERVICES_INSTALL_DIR})