Blame SOURCES/evolution-ews-3.28.2-cmake-version.patch

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