forked from lijiext/lammps
Update cmake/Modules/FindNetCDF.cmake
Co-Authored-By: Christoph Junghans <christoph.junghans@gmail.com>
This commit is contained in:
parent
c8a53d560a
commit
4e7bcee8e3
|
@ -53,7 +53,7 @@ string(REGEX REPLACE "/include/?$" "/lib"
|
|||
NETCDF_LIB_HINT ${NETCDF_INCLUDE_DIR})
|
||||
|
||||
find_library (NETCDF_LIBRARY NAMES netcdf
|
||||
HINTS "${NETCDF_DIR}/lib" "${NETCDF_LIB_HINT}")
|
||||
HINTS "${NETCDF_DIR}" "${NETCDF_LIB_HINT}" PATH_SUFFIXES lib lib64)
|
||||
mark_as_advanced (NETCDF_LIBRARY)
|
||||
|
||||
set (NETCDF_C_LIBRARIES ${NETCDF_LIBRARY})
|
||||
|
|
Loading…
Reference in New Issue