libgit2: clean up CMake variables

LIB_INSTALL_DIR was removed in libgit2 1.0 when they moved to using
GNUInstallDirs.

BUILD_CLAR is now BUILD_TESTS as of libgit2 1.4.

(From OE-Core rev: 9d321a4abf2ee35647293f5ec7e4c354974b45c6)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Ross Burton
2023-03-30 19:50:05 +01:00
committed by Richard Purdie
parent ef12246e32
commit 65ee49e1e7

View File

@@ -13,9 +13,8 @@ S = "${WORKDIR}/git"
inherit cmake
EXTRA_OECMAKE = "\
-DBUILD_CLAR=OFF \
-DBUILD_TESTS=OFF \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DLIB_INSTALL_DIR=${libdir} \
-DREGEX_BACKEND='pcre2' \
"