cmake-native: enabled zstd support

CMake depends on having all formats supported and build issues can
arise when zstd is not available:
https://gitlab.kitware.com/cmake/cmake/-/issues/21552

Quote from a CMake dev:
"As far as CMake's design is concerned, we have no optional formats.
All should be supported. That's why we bundle sufficiently new versions
of libarchive and libzstd. If a distro builds with an older libarchive
that doesn't have zstd support, then that is not a proper packaging of CMake."

(From OE-Core rev: 897d3695e11484cb5e62d63e4d6b0b4893605c56)

Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Samuli Piippo
2021-05-25 15:40:48 +03:00
committed by Richard Purdie
parent eccefdff6a
commit f32f72b29a

View File

@@ -1,7 +1,7 @@
require cmake.inc
inherit native
DEPENDS += "bzip2-replacement-native xz-native zlib-native curl-native ncurses-native"
DEPENDS += "bzip2-replacement-native xz-native zlib-native curl-native ncurses-native zstd-native"
SRC_URI += "file://OEToolchainConfig.cmake \
file://environment.d-cmake.sh \