diff options
author | Chen Qi <Qi.Chen@windriver.com> | 2021-11-15 01:04:40 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-11-16 22:20:33 +0000 |
commit | 50e0aed0684526c74072ceaf8fa52964c9cc0d19 (patch) | |
tree | 1eee6099a9e5cd92e0257e3ca7132cdcf3d35ef6 | |
parent | 5bf43c8c29bd334c5da6b1343f408171b2b0dc30 (diff) | |
download | poky-50e0aed0684526c74072ceaf8fa52964c9cc0d19.tar.gz |
waffle: add cmake-native to DEPENDS
waffle currently requires cmake-native because it has the following lines
in git/src/waffle/meson.build.
if meson.version().version_compare('>= 0.50')
cmake = import('cmake')
In case of 'wayland' not being in DISTRO_FEATURES, we will get the
following error at do_configure.
| ../git/src/waffle/meson.build:233:8: ERROR: Unable to find cmake
So explictly add 'cmake-native' to DEPENDS to solve this problem.
(From OE-Core rev: 19753e7fff81a4252d0095b54d37d52db11e3f56)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-graphics/waffle/waffle_1.7.0.bb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-graphics/waffle/waffle_1.7.0.bb b/meta/recipes-graphics/waffle/waffle_1.7.0.bb index 6284af3076..ea11309940 100644 --- a/meta/recipes-graphics/waffle/waffle_1.7.0.bb +++ b/meta/recipes-graphics/waffle/waffle_1.7.0.bb | |||
@@ -17,7 +17,7 @@ S = "${WORKDIR}/git" | |||
17 | 17 | ||
18 | inherit meson features_check lib_package bash-completion pkgconfig | 18 | inherit meson features_check lib_package bash-completion pkgconfig |
19 | 19 | ||
20 | DEPENDS:append = " python3" | 20 | DEPENDS:append = " python3 cmake-native" |
21 | 21 | ||
22 | # This should be overridden per-machine to reflect the capabilities of the GL | 22 | # This should be overridden per-machine to reflect the capabilities of the GL |
23 | # stack. | 23 | # stack. |