[evolution/wip/cmake] Change how gnome-desktop dependency is written into the evolution-shell-3.0.pc file



commit 7777fba1068165eec55bf2d9316f9efc2b406933
Author: Milan Crha <mcrha redhat com>
Date:   Tue Oct 4 23:19:07 2016 +0200

    Change how gnome-desktop dependency is written into the evolution-shell-3.0.pc file

 CMakeLists.txt |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 972c79f..6eeecd3 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -228,11 +228,11 @@ endif(WIN32)
 add_printable_option(ENABLE_GNOME_DESKTOP "Enable GNOME desktop dependency for thumbnails" ON)
 
 if(ENABLE_GNOME_DESKTOP)
-       set(GNOME_DESKTOP_DEPENDENCY "gnome-desktop-3.0>=${gnome_desktop_minimum_version}")
+       set(GNOME_DESKTOP_DEPENDENCY "gnome-desktop-3.0")
        set(HAVE_GNOME_DESKTOP ON)
 
        # It's checked for it twice, this one gives a hint to disable the dependency if not found
-       pkg_check_modules_for_option(ENABLE_GNOME_DESKTOP "GNOME desktop dependency for thumbnails" 
GNOME_DESKTOP ${GNOME_DESKTOP_DEPENDENCY})
+       pkg_check_modules_for_option(ENABLE_GNOME_DESKTOP "GNOME desktop dependency for thumbnails" 
GNOME_DESKTOP ${GNOME_DESKTOP_DEPENDENCY}>=${gnome_desktop_minimum_version})
 else(ENABLE_GNOME_DESKTOP)
        set(GNOME_DESKTOP_DEPENDENCY "")
        set(HAVE_GNOME_DESKTOP OFF)


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