~ubuntu-branches/ubuntu/karmic/kdepim/karmic-backports

« back to all changes in this revision

Viewing changes to akonadi/opensync/CMakeLists.txt

  • Committer: Bazaar Package Importer
  • Author(s): Christian Mangold
  • Date: 2009-07-10 06:34:50 UTC
  • mfrom: (1.1.40 upstream)
  • Revision ID: james.westby@ubuntu.com-20090710063450-neojgew2fh0n3y0u
Tags: 4:4.2.96-0ubuntu1
* New upstream release
* Bump kde build-deps to 4.2.96

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
include ( OpenSyncInternal )
2
 
include ( OpenSyncPlugin )
3
 
 
4
 
LINK_DIRECTORIES(  ${OPENSYNC_LIBRARY_DIRS} ${GLIB2_LIBRARY_DIRS} )
5
 
INCLUDE_DIRECTORIES( ${OPENSYNC_INCLUDE_DIRS} ${GLIB2_INCLUDE_DIRS}  ${Boost_INCLUDE_DIR} )
6
 
 
7
 
set( akonadi_opensync_srcs
8
 
  akonadi_opensync.cpp
9
 
  sinkbase.cpp
10
 
  akonadisink.cpp
11
 
  datasink.cpp
12
 
)
13
 
 
14
 
# for boost
15
 
set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${KDE4_ENABLE_EXCEPTIONS}" )
16
 
 
17
 
automoc4( akonadi_opensync_plugin akonadi_opensync_srcs )
18
 
OPENSYNC_PLUGIN_ADD( akonadi_opensync_plugin ${akonadi_opensync_srcs} )
19
 
 
20
 
TARGET_LINK_LIBRARIES( akonadi_opensync_plugin
21
 
  ${OPENSYNC_LIBRARIES}
22
 
  ${GLIB2_LIBRARIES}
23
 
  ${KDE4_KDECORE_LIBS}
24
 
  ${KDEPIMLIBS_AKONADI_LIBS}
25
 
  ${KDEPIMLIBS_KCAL_LIBS}
26
 
)
27
 
 
28
 
OPENSYNC_PLUGIN_INSTALL( akonadi_opensync_plugin )
29
 
OPENSYNC_PLUGIN_CONFIG( akonadi-sync )