ECC-1143: changes to NetCDF (FindNetCDF)

This commit is contained in:
Shahram Najm 2020-09-09 19:25:04 +01:00
parent 28cdad35a5
commit 219dc5c707
1 changed files with 1 additions and 2 deletions

View File

@ -75,9 +75,8 @@ ecbuild_add_executable( TARGET gts_count
# grib to netcdf is optional
ecbuild_add_executable( TARGET grib_to_netcdf
SOURCES grib_to_netcdf.c
INCLUDES ${NETCDF_INCLUDE_DIRS}
CONDITION HAVE_NETCDF
LIBS grib_tools ${NETCDF_LIBRARIES} )
LIBS grib_tools NetCDF::NetCDF_C )
ecbuild_add_executable( TARGET grib_list_keys