Commit a13cbced authored by Suleyman TURKMEN's avatar Suleyman TURKMEN Committed by GitHub

Update OpenCVFindLibsGrfmt.cmake

parent a9effeeb
...@@ -211,8 +211,8 @@ if(WITH_GDAL) ...@@ -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})
......
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