a0dfbe
diff -up evolution-ews-3.28.2/CMakeLists.txt.cmake-version evolution-ews-3.28.2/CMakeLists.txt
a0dfbe
--- evolution-ews-3.28.2/CMakeLists.txt.cmake-version	2018-06-01 04:36:37.121816899 -0400
a0dfbe
+++ evolution-ews-3.28.2/CMakeLists.txt	2018-06-01 04:37:58.094454208 -0400
a0dfbe
@@ -1,11 +1,15 @@
a0dfbe
 # Evolution-EWS build script
a0dfbe
 
a0dfbe
-cmake_minimum_required(VERSION 3.1)
a0dfbe
-cmake_policy(VERSION 3.1)
a0dfbe
+cmake_minimum_required(VERSION 2.8)
a0dfbe
+cmake_policy(VERSION 2.8)
a0dfbe
+
a0dfbe
+project(evolution-ews C)
a0dfbe
+set(PROJECT_VERSION_MAJOR 3)
a0dfbe
+set(PROJECT_VERSION_MINOR 28)
a0dfbe
+set(PROJECT_VERSION_PATCH 5)
a0dfbe
+set(PROJECT_VERSION_TWEAK 0)
a0dfbe
+set(PROJECT_VERSION ${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}.${PROJECT_VERSION_PATCH})
a0dfbe
 
a0dfbe
-project(evolution-ews
a0dfbe
-	VERSION 3.28.5
a0dfbe
-	LANGUAGES C)
a0dfbe
 set(PROJECT_BUGREPORT "https://gitlab.gnome.org/GNOME/evolution-ews/issues/")
a0dfbe
 
a0dfbe
 # Required for FindIntltool module
a0dfbe
diff -up evolution-ews-3.28.2/cmake/modules/FindIntltool.cmake.cmake-version evolution-ews-3.28.2/cmake/modules/FindIntltool.cmake
a0dfbe
--- evolution-ews-3.28.2/cmake/modules/FindIntltool.cmake.cmake-version	2018-05-07 04:34:12.000000000 -0400
a0dfbe
+++ evolution-ews-3.28.2/cmake/modules/FindIntltool.cmake	2018-06-01 04:36:37.122816894 -0400
a0dfbe
@@ -92,7 +92,7 @@ macro(intltool_add_pot_file_target)
a0dfbe
 	endif(NOT CMAKE_CURRENT_SOURCE_DIR STREQUAL GETTEXT_PO_DIR)
a0dfbe
 
a0dfbe
 	add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/${GETTEXT_PACKAGE}.pot
a0dfbe
-		COMMAND ${CMAKE_COMMAND} -E env INTLTOOL_EXTRACT="${INTLTOOL_EXTRACT}" XGETTEXT="${XGETTEXT}" srcdir=${CMAKE_CURRENT_SOURCE_DIR} ${INTLTOOL_UPDATE} --gettext-package ${GETTEXT_PACKAGE} --pot
a0dfbe
+		COMMAND env INTLTOOL_EXTRACT="${INTLTOOL_EXTRACT}" XGETTEXT="${XGETTEXT}" srcdir=${CMAKE_CURRENT_SOURCE_DIR} ${INTLTOOL_UPDATE} --gettext-package ${GETTEXT_PACKAGE} --pot
a0dfbe
 	)
a0dfbe
 
a0dfbe
 	add_custom_target(pot-file