Commit b8d40b4a authored by Vadim Pisarevsky's avatar Vadim Pisarevsky

Merge pull request #4002 from marvins:gdal-fix

parents a31b2930 ae933db5
...@@ -208,5 +208,6 @@ if(WITH_GDAL) ...@@ -208,5 +208,6 @@ if(WITH_GDAL)
set(HAVE_GDAL NO) set(HAVE_GDAL NO)
else() else()
set(HAVE_GDAL YES) set(HAVE_GDAL YES)
ocv_include_directories(${GDAL_INCLUDE_DIR})
endif() endif()
endif() endif()
...@@ -52,9 +52,9 @@ ...@@ -52,9 +52,9 @@
#include <iostream> #include <iostream>
/// Geospatial Data Abstraction Library /// Geospatial Data Abstraction Library
#include <gdal/cpl_conv.h> #include <cpl_conv.h>
#include <gdal/gdal_priv.h> #include <gdal_priv.h>
#include <gdal/gdal.h> #include <gdal.h>
/// Start of CV Namespace /// Start of CV Namespace
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment