From: Samuli Piippo Date: Tue, 25 May 2021 12:40:48 +0000 (+0300) Subject: cmake-native: enabled zstd support X-Git-Tag: yocto-4.0~3241 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=897d3695e11484cb5e62d63e4d6b0b4893605c56;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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." Signed-off-by: Samuli Piippo Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-devtools/cmake/cmake-native_3.20.2.bb b/meta/recipes-devtools/cmake/cmake-native_3.20.2.bb index d91e42ef9a1..335097d3872 100644 --- a/meta/recipes-devtools/cmake/cmake-native_3.20.2.bb +++ b/meta/recipes-devtools/cmake/cmake-native_3.20.2.bb @@ -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 \