summaryrefslogtreecommitdiffstats
path: root/gis/qgis/qjson.cmake.diff
blob: a6bd906aef48098f3ee76d7d0975f61df73e9b32 (plain)
1
2
3
4
5
6
7
8
9
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