summaryrefslogtreecommitdiff
path: root/dev-games/simgear/files/simgear-2019.1.1-gdal3.patch
blob: 6d48994224c88721fbb907770097bf473cfb85c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 8a2f59f..5916c4c 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -308,6 +308,7 @@ endif(ENABLE_RTI)
 if(ENABLE_GDAL)
     find_package(GDAL 2.0.0 REQUIRED)
     if (GDAL_FOUND)
+        add_compile_definitions(USE_DEPRECATED_SRS_WKT_WGS84)
         include_directories(${GDAL_INCLUDE_DIR})
     endif(GDAL_FOUND)
 endif(ENABLE_GDAL)