Browse Source

buildsystem: use cmake to detect packages with meson

If cmake is in the path, let's use it too.
merge-requests/2174/merge
Steve Lhomme 1 year ago
committed by Duncan McNamara
parent
commit
3a864dae1f
  1. 3
      buildsystem/compile-medialibrary.sh

3
buildsystem/compile-medialibrary.sh

@ -168,6 +168,9 @@ printf 'cpp = '"'"'%s'"'"'\n' "${CLANG_PREFIX}${ANDROID_API}-clang++" >&3
printf 'ar = '"'"'llvm-ar'"'"'\n' >&3
printf 'strip = '"'"'llvm-strip'"'"'\n' >&3
printf 'pkgconfig = '"'"'pkg-config'"'"'\n' >&3
if [ $(command -v cmake) >/dev/null 2>&1 ]; then
printf 'cmake = '"'"'%s'"'"'\n' "$(command -v cmake)" >&3
fi
printf '\n[host_machine]\n' >&3
printf 'system = '"'"'android'"'"'\n' >&3

Loading…
Cancel
Save