mirror of
https://github.com/opencv/opencv.git
synced 2024-11-28 05:06:29 +08:00
Merge pull request #9754 from sturkmen72:patch-1
This commit is contained in:
commit
2a2537725a
@ -211,8 +211,8 @@ if(WITH_GDAL)
|
|||||||
find_package(GDAL QUIET)
|
find_package(GDAL QUIET)
|
||||||
|
|
||||||
if(NOT GDAL_FOUND)
|
if(NOT GDAL_FOUND)
|
||||||
ocv_clear_vars(GDAL_LIBRARY GDAL_INCLUDE_DIR)
|
|
||||||
set(HAVE_GDAL NO)
|
set(HAVE_GDAL NO)
|
||||||
|
ocv_clear_vars(GDAL_VERSION GDAL_LIBRARIES)
|
||||||
else()
|
else()
|
||||||
set(HAVE_GDAL YES)
|
set(HAVE_GDAL YES)
|
||||||
ocv_include_directories(${GDAL_INCLUDE_DIR})
|
ocv_include_directories(${GDAL_INCLUDE_DIR})
|
||||||
|
Loading…
Reference in New Issue
Block a user