1 diff --git a/meson.build b/meson.build
2 index 05d00b3..b923958 100755
5 @@ -39,7 +39,8 @@ deps = []
8 inc += include_directories('.', 'src', 'include/librist', 'include', 'contrib')
9 -if (host_machine.system() == 'darwin')
10 +if (host_machine.system() == 'darwin'
11 + and find_program('brew', required : false).found())
12 r = run_command('brew', '--prefix', check: true)
13 brewoutput = r.stdout().strip()
14 inc += include_directories(brewoutput + '/include')