Output GDAL library version in CMake status output.

This commit is contained in:
Alexander Smorkalov 2025-09-30 15:23:43 +03:00
parent 0e88b49a53
commit ebb5b3037e
2 changed files with 2 additions and 2 deletions

View File

@ -1589,7 +1589,7 @@ if(WITH_OPENEXR OR HAVE_OPENEXR)
endif() endif()
if(WITH_GDAL OR HAVE_GDAL) if(WITH_GDAL OR HAVE_GDAL)
status(" GDAL:" HAVE_GDAL THEN "YES (${GDAL_LIBRARY})" ELSE "NO") status(" GDAL:" HAVE_GDAL THEN "${GDAL_LIBRARY} (ver ${GDAL_VERSION})" ELSE "NO")
endif() endif()
if(WITH_GDCM OR HAVE_GDCM) if(WITH_GDCM OR HAVE_GDCM)