Skip to content
Snippets Groups Projects
Commit 3c1399ab authored by Guillaume Pasero's avatar Guillaume Pasero
Browse files

ENH: improve GDAL check verbosity

parent 404fb4c1
No related branches found
No related tags found
No related merge requests found
......@@ -190,5 +190,17 @@ if(GDAL_CONFIG_CHECKING)
message(STATUS "Check if Gdal qualifies for Orfeo ToolBox -- no.")
endif()
if(NOT GDAL_VERSION)
if(EXISTS "${TEMP}/gdalVersion.txt")
file(READ "${TEMP}/gdalVersion.txt" GDAL_VERSION)
endif()
endif()
message(STATUS " Version : ${GDAL_VERSION}")
message(STATUS " Drivers for JPEG 2000 : ")
message(STATUS " Jasper : ${GDAL_HAS_J2K_JG2000}")
message(STATUS " OpenJPEG : ${GDAL_HAS_J2K_OPJG}")
message(STATUS " Kakadu : ${GDAL_HAS_J2K_KAK}")
message(STATUS " ECW : ${GDAL_HAS_J2K_ECW}")
endif() #GDAL_CONFIG_CHECKING
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