diff --git a/meson.build b/meson.build index 211bdc3921c..b0d8aa6676b 100644 --- a/meson.build +++ b/meson.build @@ -225,7 +225,10 @@ subdir('srcbmi') subdir('utils') # add autotest directory -subdir('autotest') +fs = import('fs') +if fs.is_dir('autotest') + subdir('autotest') +endif # meson tests to evaluate installation success testdir = meson.project_source_root() / '.mf6minsim'