Skip to content

Commit 594f801

Browse files
authored
Merge pull request #13 from ESMCI/jayeshkrishna/fix_netcdf_c_libs
Fix NetCDF C lib detection
2 parents 9276b21 + 1866859 commit 594f801

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmake/FindNetCDF.cmake

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ if(NetCDF_C_CONFIG_EXECUTABLE)
4949
OUTPUT_VARIABLE clibs
5050
OUTPUT_STRIP_TRAILING_WHITESPACE)
5151
if (clibs)
52-
set(NetCDF_C_LIBRARIES ${libs} CACHE STRING "NetCDF libraries (or linking flags)")
52+
set(NetCDF_C_LIBRARIES ${clibs} CACHE STRING "NetCDF libraries (or linking flags)")
5353
set(AUTODETECTED_NetCDF_C ON)
5454
endif()
5555

0 commit comments

Comments
 (0)