Skip to content

Commit

Permalink
t1
Browse files Browse the repository at this point in the history
  • Loading branch information
mjreno authored and mjreno committed Jan 7, 2025
1 parent f17749e commit 748e665
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,8 @@ endif
# find netcdf
with_netcdf = false
if is_netcdf_build
netcdff = dependency('netcdf', language : 'fortran', static: false, required : true)
#netcdff = dependency('netcdf', language : 'fortran', static: false, required : true)
netcdff = fc.find_library('netcdff', dirs: netcdff_libdir, static: false, required : true)
if netcdff.found()
with_netcdf = true
extra_cmp_args += [ '-D__WITH_NETCDF__' ]
Expand All @@ -203,8 +204,8 @@ if is_netcdf_build
'..' / netcdff_compiled_rel / 'fortran'
]
netcdff_libdir = netcdff_compiled_abs / 'fortran'
lnetcdff = fc.find_library('netcdff', dirs: netcdff_libdir, static: false, required : true)
dependencies += [ lnetcdff ]
#lnetcdff = fc.find_library('netcdff', dirs: netcdff_libdir, static: false, required : true)
#dependencies += [ lnetcdff ]
endif
endif
endif
Expand Down

0 comments on commit 748e665

Please sign in to comment.