From 17b15a1824456e8499296386bb08c498c8b761c9 Mon Sep 17 00:00:00 2001 From: James Turner Date: Wed, 31 Aug 2011 18:16:04 +0100 Subject: [PATCH] Use detected GDAL include path. --- src/Prep/OGRDecode/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Prep/OGRDecode/CMakeLists.txt b/src/Prep/OGRDecode/CMakeLists.txt index f08fa29f..133b4c07 100644 --- a/src/Prep/OGRDecode/CMakeLists.txt +++ b/src/Prep/OGRDecode/CMakeLists.txt @@ -1,5 +1,7 @@ if (GDAL_FOUND) + +include_directories(${GDAL_INCLUDE_DIR}) add_executable(ogr-decode ogr-decode.cxx) target_link_libraries(ogr-decode