Update cmake/Modules/FindNetCDF.cmake
Co-Authored-By: Christoph Junghans <christoph.junghans@gmail.com>
This commit is contained in:
@ -49,7 +49,7 @@ mark_as_advanced (NETCDF_INCLUDE_DIR)
|
||||
|
||||
set (NETCDF_C_INCLUDE_DIRS ${NETCDF_INCLUDE_DIR})
|
||||
|
||||
string(REGEX REPLACE "/include/?$" "/lib"
|
||||
string(REGEX REPLACE "/include/?$" ""
|
||||
NETCDF_LIB_HINT ${NETCDF_INCLUDE_DIR})
|
||||
|
||||
find_library (NETCDF_LIBRARY NAMES netcdf
|
||||
|
||||
Reference in New Issue
Block a user