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)