~neon/kdesdk-thumbnailers/master

« back to all changes in this revision

Viewing changes to po/CMakeLists.txt

  • Committer: Albert Astals Cid
  • Date: 2013-02-12 21:26:33 UTC
  • mfrom: (24.1.7)
  • Revision ID: git-v1:a9d77f31c4b819f9789ed00ad19e9d9bd4ffea16
Merge remote-tracking branch 'origin/KDE/4.10'

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
project(kde-thumbnailer-po)
2
 
cmake_minimum_required(VERSION 2.6)
3
 
 
4
 
find_package(KDE4 REQUIRED)
5
 
find_package(GettextPO REQUIRED)
6
 
 
7
 
include(KDE4Defaults)
8
 
 
9
 
add_definitions(${QT_DEFINITIONS} ${KDE4_DEFINITIONS})
10
 
include_directories(${QT_INCLUDES} ${KDE4_INCLUDES})
11
 
 
12
 
set(pothumbnail_SRCS pocreator.cpp)
13
 
 
14
 
kde4_add_ui_files(pothumbnail_SRCS pocreatorform.ui)
15
 
 
16
 
kde4_add_kcfg_files(pothumbnail_SRCS pocreatorsettings.kcfgc)
17
 
 
18
 
kde4_add_plugin(pothumbnail ${pothumbnail_SRCS})
19
 
target_link_libraries(pothumbnail
20
 
    ${KDE4_KIO_LIBS}
21
 
    ${GETTEXTPO_LIBRARY}
22
 
)
23
 
 
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})