Small compile error fix
[opensync/file-sync-cdf.git] / src / CMakeLists.txt
blob70ff29b479d2860c30a76aaea8bc9d6ba7383bb1
1 LINK_DIRECTORIES( ${OPENSYNC_LIBRARY_DIRS} ${GLIB2_LIBRARY_DIRS} ${LIBXML2_LIBRARY_DIRS} )
2 INCLUDE_DIRECTORIES( ${OPENSYNC_INCLUDE_DIRS} ${GLIB2_INCLUDE_DIRS} ${LIBXML2_INCLUDE_DIR} )
4 OPENSYNC_PLUGIN_ADD( file-sync file_sync.c )
7 OPENSYNC_FORMAT_ADD( file file.c )
8 OPENSYNC_FORMAT_ADD( plain plain.c )
10 TARGET_LINK_LIBRARIES( file-sync ${OPENSYNC_LIBRARIES} ${GLIB2_LIBRARIES} ${LIBXML2_LIBRARIES} )
12 TARGET_LINK_LIBRARIES( file ${OPENSYNC_LIBRARIES} ${GLIB2_LIBRARIES} )
13 TARGET_LINK_LIBRARIES( plain ${OPENSYNC_LIBRARIES} ${GLIB2_LIBRARIES} )
15 ###### INSTALL ################### 
16 OPENSYNC_PLUGIN_INSTALL( file-sync ) 
18 OPENSYNC_PLUGIN_CONFIG( file-sync )
20 OPENSYNC_FORMAT_INSTALL( file )
21 OPENSYNC_FORMAT_INSTALL( plain )