Skip to content

Commit

Permalink
FindNetCDF.cmake: Inject logging statements
Browse files Browse the repository at this point in the history
  • Loading branch information
kvrigor committed Oct 30, 2024
1 parent 90e015d commit 5c47ed3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmake/FindNetCDF.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ if(NetCDF_C_FOUND)
pkg_get_variable(NetCDF_C_ROOT netcdf-mpi prefix)
set(NetCDF_C_LIB_DIR "${NetCDF_C_ROOT}/lib")
set(netCDF_HAS_PARALLEL "ON")
message(STATUS "FindNETCDF1: NetCDF_C_ROOT=${NetCDF_C_ROOT}")
else()
# Set default NetCDF C paths to the first found NetCDF C library.
set(NetCDF_C_ROOT "${netCDF_INSTALL_PREFIX}")
Expand Down Expand Up @@ -42,4 +43,5 @@ if(NetCDF_FOUND)
else()
message(WARNING "TSMP2 is using NetCDF C without parallel I/O support.")
endif()
message(STATUS "FindNETCDF2: NetCDF_C_ROOT=${NetCDF_C_ROOT}")
endif()

0 comments on commit 5c47ed3

Please sign in to comment.