CMAKE_MINIMUM_REQUIRED( VERSION 2.4.4 )
PROJECT( libopensync-plugin-evolution2 C )

SET( VERSION "0.39" )

SET( CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/modules" )

SET( OPENSYNC_MIN_VERSION "0.39" )

FIND_PACKAGE( EPackage REQUIRED )
FIND_PACKAGE( OpenSync REQUIRED )
FIND_PACKAGE( GLIB2 REQUIRED )


INCLUDE( OpenSyncInternal )
INCLUDE( Testing )

INCLUDE( CheckIncludeFile )
CHECK_INCLUDE_FILE( "libedataserver/eds-version.h" HAVE_EDS_VERSION_H )

ADD_SUBDIRECTORY( src )
ADD_SUBDIRECTORY( tools )
ADD_SUBDIRECTORY( tests )


#############################################

CONFIGURE_FILE( misc/evolution2.spec.in misc/evolution2.spec )

OPENSYNC_PACKAGE( ${PROJECT_NAME} ${VERSION} )


CMAKE_MINIMUM_REQUIRED( VERSION 2.4.4 )
PROJECT( libopensync-plugin-evolution2 C )

SET( VERSION "0.40" )

SET( CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/modules" )

SET( OPENSYNC_MIN_VERSION "0.40" )

FIND_PACKAGE( EPackage REQUIRED )
FIND_PACKAGE( OpenSync REQUIRED )
FIND_PACKAGE( GLIB2 REQUIRED )


INCLUDE( OpenSyncInternal )
INCLUDE( Testing )

INCLUDE( CheckIncludeFile )
CHECK_INCLUDE_FILE( "libedataserver/eds-version.h" HAVE_EDS_VERSION_H )

ADD_SUBDIRECTORY( src )
ADD_SUBDIRECTORY( tools )
ADD_SUBDIRECTORY( tests )


#############################################

CONFIGURE_FILE( misc/evolution2.spec.in misc/evolution2.spec )

OPENSYNC_PACKAGE( ${PROJECT_NAME} ${VERSION} )


Increase version in advance for snapshot builds
Increase version in advance for snapshot builds


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