Skip to content

Commit

Permalink
Merge pull request #13 from ESMCI/jayeshkrishna/fix_netcdf_c_libs
Browse files Browse the repository at this point in the history
Fix NetCDF C lib detection
  • Loading branch information
jgfouca authored Mar 20, 2024
2 parents 9276b21 + 1866859 commit 594f801
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/FindNetCDF.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ if(NetCDF_C_CONFIG_EXECUTABLE)
OUTPUT_VARIABLE clibs
OUTPUT_STRIP_TRAILING_WHITESPACE)
if (clibs)
set(NetCDF_C_LIBRARIES ${libs} CACHE STRING "NetCDF libraries (or linking flags)")
set(NetCDF_C_LIBRARIES ${clibs} CACHE STRING "NetCDF libraries (or linking flags)")
set(AUTODETECTED_NetCDF_C ON)
endif()

Expand Down

0 comments on commit 594f801

Please sign in to comment.