[gegl-qt] Build: allow to build against gegl-0.3 (git master) also



commit 0e48db1e2baac9dde31b1a0b9add2ccd28df012b
Author: Jon Nordby <jononor gmail com>
Date:   Fri Jun 28 03:04:24 2013 +0200

    Build: allow to build against gegl-0.3 (git master) also

 config.pri |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/config.pri b/config.pri
index b279869..7fd4ecd 100644
--- a/config.pri
+++ b/config.pri
@@ -24,6 +24,13 @@ HAVE_GEGL = no
 GEGL_PKG = ""
 
 contains(HAVE_GEGL, no) {
+    system(pkg-config --exists gegl-0.3) {
+        HAVE_GEGL = 0.3
+        GEGL_PKG = gegl-0.3
+    }
+}
+
+contains(HAVE_GEGL, no) {
     system(pkg-config --exists gegl-0.2) {
         HAVE_GEGL = 0.2
         GEGL_PKG = gegl-0.2


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