LINK_DIRECTORIES( ${LIBEBOOK_LIBRARY_DIRS} ${LIBECAL_LIBRARY_DIRS} ${LIBEDATABOOK_LIBRARY_DIRS} ${LIBEDATACAL_LIBRARY_DIRS} ${LIBEDATASERVER_LIBRARY_DIRS} ${GCONF2_LIBRARY_DIRS} ${GLIB2_LIBRARY_DIR} ${LIBXML2_LIBRARY_DIRS} )
INCLUDE_DIRECTORIES( ${LIBEBOOK_INCLUDE_DIRS} ${LIBECAL_INCLUDE_DIRS} ${LIBEDATABOOK_INCLUDE_DIRS} ${LIBEDATACAL_INCLUDE_DIRS} ${LIBEDATASERVER_INCLUDE_DIRS} ${GCONF2_INCLUDE_DIRS} ${OPENSYNC_INCLUDE_DIR} ${GLIB2_INCLUDE_DIR} ${LIBXML2_INCLUDE_DIRS} )

SET( evo2_sync_LIB_SRCS
  evolution2_sync.c 
  evolution2_ebook.c
  evolution2_ecal.c
  evolution2_memo.c
  evolution2_etodo.c
)

OPENSYNC_PLUGIN_ADD( evo2-sync ${evo2_sync_LIB_SRCS} ) 

TARGET_LINK_LIBRARIES( evo2-sync ${LIBEBOOK_LIBRARIES} ${LIBECAL_LIBRARIES} ${LIBEDATABOOK_LIBRARIES} ${LIBEDATACAL_LIBRARIES} ${LIBEDATASERVER_LIBRARIES} ${OPENSYNC_LIBRARIES} ${LIBXML2_LIBRARIES} )

###### INSTALL ################### 
OPENSYNC_PLUGIN_INSTALL( evo2-sync )

OPENSYNC_PLUGIN_CONFIG( evo2-sync )

LINK_DIRECTORIES( ${LIBEBOOK_LIBRARY_DIRS} ${LIBECAL_LIBRARY_DIRS} ${LIBEDATABOOK_LIBRARY_DIRS} ${LIBEDATACAL_LIBRARY_DIRS} ${LIBEDATASERVER_LIBRARY_DIRS} ${GCONF2_LIBRARY_DIRS} ${OPENSYNC_LIBRARY_DIRS} ${GLIB2_LIBRARY_DIRS} ${LIBXML2_LIBRARY_DIRS} )
INCLUDE_DIRECTORIES( ${LIBEBOOK_INCLUDE_DIRS} ${LIBECAL_INCLUDE_DIRS} ${LIBEDATABOOK_INCLUDE_DIRS} ${LIBEDATACAL_INCLUDE_DIRS} ${LIBEDATASERVER_INCLUDE_DIRS} ${GCONF2_INCLUDE_DIRS} ${OPENSYNC_INCLUDE_DIRS} ${GLIB2_INCLUDE_DIR} ${LIBXML2_INCLUDE_DIRS} )

SET( evo2_sync_LIB_SRCS
  evolution2_sync.c 
  evolution2_ebook.c
  evolution2_ecal.c
  evolution2_memo.c
  evolution2_etodo.c
)

OPENSYNC_PLUGIN_ADD( evo2-sync ${evo2_sync_LIB_SRCS} ) 

TARGET_LINK_LIBRARIES( evo2-sync ${LIBEBOOK_LIBRARIES} ${LIBECAL_LIBRARIES} ${LIBEDATABOOK_LIBRARIES} ${LIBEDATACAL_LIBRARIES} ${LIBEDATASERVER_LIBRARIES} ${OPENSYNC_LIBRARIES} ${LIBXML2_LIBRARIES} )

###### INSTALL ################### 
OPENSYNC_PLUGIN_INSTALL( evo2-sync )

OPENSYNC_PLUGIN_CONFIG( evo2-sync )

Upgrade to new FindOpenSync based on FindPkgConfig.
Upgrade to new FindOpenSync based on FindPkgConfig.



git-svn-id: f1bb718d4e9c0c0d02e15ad9d34d3a6914bb64ae@2942 53f5c7ee-bee3-0310-bbc5-ea0e15fffd5e
