Merge pull request #4002 from marvins:gdal-fix

pull/4006/head
Vadim Pisarevsky 10 years ago
commit b8d40b4ad5
  1. 1
      cmake/OpenCVFindLibsGrfmt.cmake
  2. 6
      modules/imgcodecs/src/grfmt_gdal.hpp

@ -208,5 +208,6 @@ if(WITH_GDAL)
set(HAVE_GDAL NO)
else()
set(HAVE_GDAL YES)
ocv_include_directories(${GDAL_INCLUDE_DIR})
endif()
endif()

@ -52,9 +52,9 @@
#include <iostream>
/// Geospatial Data Abstraction Library
#include <gdal/cpl_conv.h>
#include <gdal/gdal_priv.h>
#include <gdal/gdal.h>
#include <cpl_conv.h>
#include <gdal_priv.h>
#include <gdal.h>
/// Start of CV Namespace

Loading…
Cancel
Save