forked from enlightenment/edi
Fix meson issues for OSX
This commit is contained in:
parent
6fe6c805bf
commit
09ce5493cd
|
@ -0,0 +1,6 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
if [[ -d /usr/local/opt/llvm ]]; then
|
||||||
|
echo "/usr/local/opt/llvm/include"
|
||||||
|
fi
|
||||||
|
|
|
@ -26,13 +26,19 @@ foreach package : packages
|
||||||
endforeach
|
endforeach
|
||||||
|
|
||||||
deps = [elm, edi_lib, intl]
|
deps = [elm, edi_lib, intl]
|
||||||
|
incls = []
|
||||||
|
|
||||||
if get_option('libclang') == true
|
if get_option('libclang') == true
|
||||||
deps += [clang]
|
deps += [clang]
|
||||||
|
|
||||||
|
clang_build_include_dir_command = run_command(find_program('../../scripts/clang_build_include_dir.sh'))
|
||||||
|
clang_build_include_dir = clang_include_dir_command.stdout().strip()
|
||||||
|
incls += include_directories(clang_build_include_dir)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
executable('edi', src,
|
executable('edi', src,
|
||||||
dependencies : deps,
|
dependencies : deps,
|
||||||
|
include_directories : incls,
|
||||||
install : true
|
install : true
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue