summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.rst4
-rw-r--r--meson.build6
2 files changed, 8 insertions, 2 deletions
diff --git a/README.rst b/README.rst
index 05f0e6f2..ca8a97cb 100644
--- a/README.rst
+++ b/README.rst
@@ -47,7 +47,9 @@ A C++ toolchain: [required]
Either {g++, clang}
Meson Build system: [required]
- meson (>= 0.55) ninja-build pkg-config
+ meson (>= 0.53) ninja-build pkg-config
+
+ meson (>= 0.55) is required for building Android (-Dandroid=enabled)
If your distribution doesn't provide a recent enough version of meson,
you can install or upgrade it using pip3.
diff --git a/meson.build b/meson.build
index a20cc29e..9684d562 100644
--- a/meson.build
+++ b/meson.build
@@ -1,7 +1,11 @@
# SPDX-License-Identifier: CC0-1.0
project('libcamera', 'c', 'cpp',
- meson_version : '>= 0.55',
+ # Use of the Android component requires meson 0.55, but Ubuntu 20.04 LTS
+ # ships meson 0.53. Improve the Ubuntu experience at the expense of
+ # Android as the former is a much more common use case than the latter at
+ # this point. This should be fixed after Ubuntu releases 22.04 LTS.
+ meson_version : '>= 0.53',
version : '0.0.0',
default_options : [
'werror=true',