LINK_DIRECTORIES( ${GLIB2_LIBRARY_DIRS} ${LIBXML2_LIBRARY_DIRS} )
INCLUDE_DIRECTORIES( ${OPENSYNC_INCLUDE_DIR} ${GLIB2_INCLUDE_DIRS} ${LIBXML2_INCLUDE_DIRS} )

OPENSYNC_PLUGIN_ADD( file-sync file_sync.c )

TARGET_LINK_LIBRARIES( file-sync ${OPENSYNC_LIBRARIES} ${GLIB2_LIBRARIES} ${LIBXML2_LIBRARIES} )

###### INSTALL ################### 
OPENSYNC_PLUGIN_INSTALL( file-sync ) 

OPENSYNC_PLUGIN_CONFIG( file-sync )

LINK_DIRECTORIES( ${OPENSYNC_LIBRARY_DIRS} ${GLIB2_LIBRARY_DIRS} ${LIBXML2_LIBRARY_DIRS} )
INCLUDE_DIRECTORIES( ${OPENSYNC_INCLUDE_DIRS} ${GLIB2_INCLUDE_DIRS} ${LIBXML2_INCLUDE_DIRS} )

OPENSYNC_PLUGIN_ADD( file-sync file_sync.c )

TARGET_LINK_LIBRARIES( file-sync ${OPENSYNC_LIBRARIES} ${GLIB2_LIBRARIES} ${LIBXML2_LIBRARIES} )

###### INSTALL ################### 
OPENSYNC_PLUGIN_INSTALL( file-sync ) 

OPENSYNC_PLUGIN_CONFIG( file-sync )

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



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