mirror of
https://github.com/opencv/opencv.git
synced 2024-11-24 11:10:21 +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)
|
||||
|
||||
if(NOT GDAL_FOUND)
|
||||
ocv_clear_vars(GDAL_LIBRARY GDAL_INCLUDE_DIR)
|
||||
set(HAVE_GDAL NO)
|
||||
ocv_clear_vars(GDAL_VERSION GDAL_LIBRARIES)
|
||||
else()
|
||||
set(HAVE_GDAL YES)
|
||||
ocv_include_directories(${GDAL_INCLUDE_DIR})
|
||||
|
Loading…
Reference in New Issue
Block a user