kde-extraapps/thumbnailers/po/CMakeLists.txt
Ivailo Monev e981b452aa thumbnailers: include gettext-po headers directory where needed
fixes build on NetBSD and probably other

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-02-21 06:08:01 +02:00

19 lines
533 B
CMake

project(kde-thumbnailer-po)
include_directories(
${GETTEXTPO_INCLUDE_DIR}
)
set(pothumbnail_SRCS pocreator.cpp)
kde4_add_kcfg_files(pothumbnail_SRCS pocreatorsettings.kcfgc)
kde4_add_plugin(pothumbnail ${pothumbnail_SRCS})
target_link_libraries(pothumbnail
${KDE4_KIO_LIBS}
${GETTEXTPO_LIBRARY}
)
install(TARGETS pothumbnail DESTINATION ${KDE4_PLUGIN_INSTALL_DIR})
install(FILES pocreatorsettings.kcfg DESTINATION ${KDE4_KCFG_INSTALL_DIR})
install(FILES pothumbnail.desktop DESTINATION ${KDE4_SERVICES_INSTALL_DIR})