Skip to content
Snippets Groups Projects
Commit 507032fe authored by Rashad Kanavath's avatar Rashad Kanavath
Browse files

COMP: Use GDAL_CONFIG when importing GDAL for MinGW compiler

parent b9a30787
No related branches found
No related tags found
No related merge requests found
......@@ -17,7 +17,7 @@ if(OTB_USE_EXTERNAL_GDAL)
message(STATUS " GDAL includes : ${GDAL_INCLUDE_DIR}")
message(STATUS " GDAL library : ${GDAL_LIBRARY}")
if(UNIX)
if(UNIX OR MINGW)
if(NOT GDAL_CONFIG)
message(FATAL_ERROR "Cannot find gdal-config. Set GDAL_CONFIG")
endif()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment