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