Commit 4f8c3d7d authored by Vadim Pisarevsky's avatar Vadim Pisarevsky

Merge pull request #7648 from alalek:cmake_warnings

parents acaa1e1b 04ddbf56
......@@ -202,7 +202,7 @@ endif()
# --- GDAL (optional) ---
if(WITH_GDAL)
find_package(GDAL)
find_package(GDAL QUIET)
if(NOT GDAL_FOUND)
ocv_clear_vars(GDAL_LIBRARY GDAL_INCLUDE_DIR)
......@@ -214,7 +214,7 @@ if(WITH_GDAL)
endif()
if (WITH_GDCM)
find_package(GDCM)
find_package(GDCM QUIET)
if(NOT GDCM_FOUND)
set(HAVE_GDCM NO)
ocv_clear_vars(GDCM_VERSION GDCM_LIBRARIES)
......
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