[evolution-mapi] Require as hard dependency some dependencies



commit 8488ef0772f76bec623d6d849596644d6ce9ae06
Author: Milan Crha <mcrha redhat com>
Date:   Mon Oct 10 16:15:07 2016 +0200

    Require as hard dependency some dependencies

 CMakeLists.txt |   30 +++++++++++++++---------------
 1 files changed, 15 insertions(+), 15 deletions(-)
---
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 5884b07..11cb5b5 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -91,25 +91,25 @@ if(${ENABLE_MAINTAINER_MODE})
        add_definitions(-DEDS_DISABLE_DEPRECATED=1)
 endif(${ENABLE_MAINTAINER_MODE})
 
-pkg_check_modules(CAMEL camel-1.2>=${eds_minimum_version})
-pkg_check_modules(EVOLUTION_DATA_SERVER evolution-data-server-1.2>=${eds_minimum_version})
-pkg_check_modules(LIBEBACKEND libebackend-1.2>=${eds_minimum_version})
-pkg_check_modules(LIBEBOOK libebook-1.2>=${eds_minimum_version})
-pkg_check_modules(LIBECAL libecal-1.2>=${eds_minimum_version})
-pkg_check_modules(LIBEDATABOOK libedata-book-1.2>=${eds_minimum_version})
-pkg_check_modules(LIBEDATACAL libedata-cal-1.2>=${eds_minimum_version})
-pkg_check_modules(LIBEDATASERVER libedataserver-1.2>=${eds_minimum_version})
-
-pkg_check_modules(EVOLUTION_SHELL evolution-shell-3.0>=${evo_minimum_version})
-pkg_check_modules(EVOLUTION_MAIL evolution-mail-3.0>=${evo_minimum_version})
-
-pkg_check_modules(GNOME_PLATFORM
+pkg_check_modules(CAMEL REQUIRED camel-1.2>=${eds_minimum_version})
+pkg_check_modules(EVOLUTION_DATA_SERVER REQUIRED evolution-data-server-1.2>=${eds_minimum_version})
+pkg_check_modules(LIBEBACKEND REQUIRED libebackend-1.2>=${eds_minimum_version})
+pkg_check_modules(LIBEBOOK REQUIRED libebook-1.2>=${eds_minimum_version})
+pkg_check_modules(LIBECAL REQUIRED libecal-1.2>=${eds_minimum_version})
+pkg_check_modules(LIBEDATABOOK REQUIRED libedata-book-1.2>=${eds_minimum_version})
+pkg_check_modules(LIBEDATACAL REQUIRED libedata-cal-1.2>=${eds_minimum_version})
+pkg_check_modules(LIBEDATASERVER REQUIRED libedataserver-1.2>=${eds_minimum_version})
+
+pkg_check_modules(EVOLUTION_SHELL REQUIRED evolution-shell-3.0>=${evo_minimum_version})
+pkg_check_modules(EVOLUTION_MAIL REQUIRED evolution-mail-3.0>=${evo_minimum_version})
+
+pkg_check_modules(GNOME_PLATFORM REQUIRED
        glib-2.0>=${glib_minimum_version}
        gtk+-3.0>=${gdk_minimum_version}
 )
 
-pkg_check_modules(LIBICAL libical)
-pkg_check_modules(LIBMAPI libmapi>=${libmapi_minimum_version})
+pkg_check_modules(LIBICAL REQUIRED libical)
+pkg_check_modules(LIBMAPI REQUIRED libmapi>=${libmapi_minimum_version})
 
 set(CMAKE_REQUIRED_FLAGS ${LIBMAPI_INCLUDE_CFLAGS})
 set(CMAKE_REQUIRED_INCLUDES ${LIBMAPI_INCLUDE_DIRS})


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