summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gis/qgis/qjson.cmake.diff10
1 files changed, 10 insertions, 0 deletions
diff --git a/gis/qgis/qjson.cmake.diff b/gis/qgis/qjson.cmake.diff
new file mode 100644
index 0000000000..a6bd906aef
--- /dev/null
+++ b/gis/qgis/qjson.cmake.diff
@@ -0,0 +1,10 @@
+--- qgis-2.16.0.orig/src/providers/arcgisrest/CMakeLists.txt 2016-07-09 06:48:26.627018690 -0700
++++ qgis-2.16.0/providers/arcgisrest/CMakeLists.txt 2016-07-09 06:48:03.037018088 -0700
+@@ -1,4 +1,6 @@
+-FIND_PACKAGE(QJSON)
++if(NOT TARGET qjson)
++ FIND_PACKAGE(QJSON)
++endif()
+
+ INCLUDE_DIRECTORIES(
+ ../../core