From 4d3affb95dbcf43bfc888016e638a8fb06957ed6 Mon Sep 17 00:00:00 2001 From: Mathis Logemann Date: Thu, 22 Jul 2021 22:06:01 +0200 Subject: [PATCH] fix gdal include dir --- plugins/input/gdal/CMakeLists.txt | 2 +- plugins/input/ogr/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/input/gdal/CMakeLists.txt b/plugins/input/gdal/CMakeLists.txt index 952485f6c..ca0cb4d6f 100644 --- a/plugins/input/gdal/CMakeLists.txt +++ b/plugins/input/gdal/CMakeLists.txt @@ -8,7 +8,7 @@ add_library(input-gdal MODULE ) add_library(mapnik::plugin::input::gdal ALIAS input-gdal) -target_include_directories(input-gdal PRIVATE ${GDAL_INCLUDE_DIR}) +target_include_directories(input-gdal PRIVATE ${GDAL_INCLUDE_DIRS}) target_link_libraries(input-gdal PRIVATE mapnik::core mapnik::mapnik diff --git a/plugins/input/ogr/CMakeLists.txt b/plugins/input/ogr/CMakeLists.txt index 577a133dd..599a325a9 100644 --- a/plugins/input/ogr/CMakeLists.txt +++ b/plugins/input/ogr/CMakeLists.txt @@ -10,7 +10,7 @@ add_library(input-ogr MODULE ) add_library(mapnik::plugin::input::ogr ALIAS input-ogr) -target_include_directories(input-ogr PRIVATE ${GDAL_INCLUDE_DIR}) +target_include_directories(input-ogr PRIVATE ${GDAL_INCLUDE_DIRS}) target_link_libraries(input-ogr PRIVATE mapnik::core mapnik::mapnik