Update cmake/Modules/FindNetCDF.cmake

Co-Authored-By: Christoph Junghans <christoph.junghans@gmail.com>
This commit is contained in:
jotelha 2019-12-22 13:24:34 +01:00 committed by GitHub
parent c8a53d560a
commit 4e7bcee8e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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})