diff --git a/meson.build b/meson.build index 963a3a3a..aa5260c5 100644 --- a/meson.build +++ b/meson.build @@ -104,7 +104,7 @@ csound_dep = dependency('', required: false) if not csound_dep.found() and not csound_option.disabled() # if csound isn't distributed with pkg-config then user needs to define CSOUND_LIB_DIR with its location - res = run_command(python, '-c', 'import os; print(os.environ["CSOUND_LIB_DIR"])') + res = run_command(python, '-c', 'import os; print(os.environ["CSOUND_LIB_DIR"])', check: false) if res.returncode() == 0 csound_libdir = res.stdout().strip() csound_dep = cc.find_library('csound64', dirs: csound_libdir, required: false)