1
project(kde-thumbnailer-po)
2
cmake_minimum_required(VERSION 2.6)
4
find_package(KDE4 REQUIRED)
5
find_package(GettextPO REQUIRED)
9
add_definitions(${QT_DEFINITIONS} ${KDE4_DEFINITIONS})
10
include_directories(${QT_INCLUDES} ${KDE4_INCLUDES})
12
set(pothumbnail_SRCS pocreator.cpp)
14
kde4_add_ui_files(pothumbnail_SRCS pocreatorform.ui)
16
kde4_add_kcfg_files(pothumbnail_SRCS pocreatorsettings.kcfgc)
18
kde4_add_plugin(pothumbnail ${pothumbnail_SRCS})
19
target_link_libraries(pothumbnail
24
install(TARGETS pothumbnail DESTINATION ${PLUGIN_INSTALL_DIR})
25
install(FILES pocreatorsettings.kcfg DESTINATION ${KCFG_INSTALL_DIR})
26
install(FILES pothumbnail.desktop DESTINATION ${SERVICES_INSTALL_DIR})