[evolution-mapi] Do not use PROJECT_VERSION_TWEAK when searching for eds/evo dependencies



commit f1b9bef16933189a9934bb779a2f4940fc40defe
Author: Milan Crha <mcrha redhat com>
Date:   Mon Sep 4 19:05:29 2017 +0200

    Do not use PROJECT_VERSION_TWEAK when searching for eds/evo dependencies

 CMakeLists.txt |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 48400ad..7233287 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -34,8 +34,8 @@ add_definitions(-DGDK_VERSION_MAX_ALLOWED=${gdk_encoded_version})
 add_definitions(-DGLIB_VERSION_MIN_REQUIRED=${glib_encoded_version})
 add_definitions(-DGDK_VERSION_MIN_REQUIRED=${gdk_encoded_version})
 
-set(eds_minimum_version ${PROJECT_VERSION})
-set(evo_minimum_version ${PROJECT_VERSION})
+set(eds_minimum_version ${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}.${PROJECT_VERSION_PATCH})
+set(evo_minimum_version ${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}.${PROJECT_VERSION_PATCH})
 set(libmapi_minimum_version 2.0)
 
 # Load modules from the source tree


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]