1 PROJECT( libopensync-plugin-google-calendar C )
5 SET( CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/modules" )
7 SET( OPENSYNC_MIN_VERSION "0.37" )
9 CMAKE_MINIMUM_REQUIRED( VERSION 2.4.4 )
11 FIND_PACKAGE( OpenSync REQUIRED )
12 FIND_PACKAGE( GLIB2 REQUIRED )
13 FIND_PACKAGE( LibXml2 REQUIRED )
14 FIND_PACKAGE( LibXslt REQUIRED )
15 FIND_PACKAGE( LibGcal REQUIRED )
18 INCLUDE( OpenSyncInternal )
21 ADD_SUBDIRECTORY( src )
23 OPENSYNC_PACKAGE( ${PROJECT_NAME} ${VERSION} )