eccodes/project_summary.cmake

17 lines
558 B
CMake

# Third-party libraries
foreach( _tpl ${ECCODES_TPLS} )
string( TOUPPER ${_tpl} TPL )
if( ${TPL}_FOUND )
message( STATUS " ${_tpl} ${${TPL}_VERSION_STRING}" )
if( ${TPL}_INCLUDE_DIRS )
message( STATUS " includes : [${${TPL}_INCLUDE_DIRS}]" )
endif()
if( ${TPL}_LIBRARIES )
message( STATUS " libs : [${${TPL}_LIBRARIES}]" )
endif()
if( ${TPL}_DEFINITIONS )
message( STATUS " defs : [${${TPL}_DEFINITIONS}]" )
endif()
endif()
endforeach()