~neon/kdesdk-thumbnailers/master

« back to all changes in this revision

Viewing changes to po_thumbnailer/CMakeLists.txt

  • Committer: Albert Astals Cid
  • Date: 2013-02-12 21:25:26 UTC
  • mto: This revision was merged to the branch mainline in revision 28.
  • Revision ID: git-v1:9a443e674fa7c09de411b459465e52def512e276
po -> po_thumbnailer

po is a "reserved" directory name for scripty since in 99.99% of cases
if you have a po folder means you are storing the po in your repo
which is not the correct thing to do. Here is it correct but for the 0.01% of the
cases i'm just renaming the folder.

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})