Commit 9a1a9d9a authored by Marvin Smith's avatar Marvin Smith

Updating CMake to get GDAL working again on OS X.

parent df57d038
...@@ -51,6 +51,7 @@ if(HAVE_OPENEXR) ...@@ -51,6 +51,7 @@ if(HAVE_OPENEXR)
endif() endif()
if(HAVE_GDAL) if(HAVE_GDAL)
add_definitions(-DHAVE_GDAL)
include_directories(SYSTEM ${GDAL_INCLUDE_DIR}) include_directories(SYSTEM ${GDAL_INCLUDE_DIR})
list(APPEND GRFMT_LIBS ${GDAL_LIBRARY}) list(APPEND GRFMT_LIBS ${GDAL_LIBRARY})
endif() endif()
......
...@@ -38,6 +38,7 @@ ...@@ -38,6 +38,7 @@
// the use of this software, even if advised of the possibility of such damage. // the use of this software, even if advised of the possibility of such damage.
// //
//M*/ //M*/
#include "precomp.hpp"
#include "grfmt_gdal.hpp" #include "grfmt_gdal.hpp"
#ifdef HAVE_GDAL #ifdef HAVE_GDAL
......
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