Skip to content

Commit

Permalink
ci3
Browse files Browse the repository at this point in the history
  • Loading branch information
mjreno authored and mjreno committed Sep 18, 2023
1 parent a50690f commit d2a0c4d
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -172,17 +172,21 @@ endif
if build_machine.system() != 'windows'
netcdf = dependency('netcdf', language : 'fortran', required : false)
else
nc_dir = meson.project_source_root() / '..' / 'ncf' / 'netcdf-fortran-4.6.0' / 'fortran'
#nc_dir = meson.project_source_root() / '..' / 'ncf' / 'netcdf-fortran-4.6.0' / 'fortran'
nc_dir = / 'c' / 'Users' / 'runneradmin' / 'micromamba' / 'envs' / 'modflow6' / 'Library' / 'bin'
nc_incdir = / 'c' / 'Users' / 'runneradmin' / 'micromamba' / 'envs' / 'modflow6' / 'Library' / 'include'
#ncc_incdir = meson.project_source_root() / '..' / '..' / '..' / '_temp' / 'msys64' / 'mingw64' / 'include'
ncc_libdir = meson.project_source_root() / '..' / '..' / '..' / '_temp' / 'msys64' / 'mingw64' / 'lib'
message('nc_dir:', nc_dir)
#message('ncc_incdir:', ncc_incdir)
message('ncc_libdir:', ncc_libdir)
netcdf = fc.find_library('netcdff', dirs: [ nc_dir / '.libs' ], required : true, static : false)
#netcdf = fc.find_library('netcdff', dirs: [ nc_dir / '.libs' ], required : true, static : false)
netcdf = fc.find_library('netcdff', dirs: [ nc_dir ], required : true, static : false)
# lnetcdf?
#ncclib = fc.find_library('netcdf', dirs: [ ncc_libdir ], required : true, static : false)
#nc_incdir = include_directories([ nc_dir, ncc_incdir ])
nc_incdir = include_directories([ nc_dir ])
#nc_incdir = include_directories([ nc_dir ])
nc_incdir = include_directories([ nc_incdir ])
#dependencies += [ ncclib ]
endif
#netcdf = dependency('netcdf', language : 'fortran', required : false)
Expand Down

0 comments on commit d2a0c4d

Please sign in to comment.