Fixing the gdal include error that Macports seems to only mess up.

This commit is contained in:
Marvin Smith 2015-05-11 20:27:50 -07:00
parent a31b29308f
commit ae933db526
2 changed files with 4 additions and 3 deletions

View File

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

View File

@ -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