1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-21 19:33:03 +04:00

Adding support for GDAL raster images.

This commit is contained in:
Marvin Smith
2014-07-01 16:29:11 -07:00
parent 6bb8c46d9a
commit 14548227ca
16 changed files with 1196 additions and 6 deletions
+12
View File
@@ -198,3 +198,15 @@ if(WITH_OPENEXR)
set(HAVE_OPENEXR YES)
endif()
# --- GDAL (optional) ---
if(WITH_GDAL)
find_package(GDAL)
if(NOT GDAL_FOUND)
ocv_clear_vars(GDAL_LIBRARY GDAL_INCLUDE_DIR)
set(HAVE_GDAL NO)
else()
set(HAVE_GDAL YES)
endif()
endif()