diff mbox series

[2/3] libgit2: clean up CMake variables

Message ID 20230330185006.306389-2-ross.burton@arm.com
State Accepted, archived
Commit 9d321a4abf2ee35647293f5ec7e4c354974b45c6
Headers show
Series [1/3] llvm: remove redundant CMake variables | expand

Commit Message

Ross Burton March 30, 2023, 6:50 p.m. UTC
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.

Signed-off-by: Ross Burton <ross.burton@arm.com>
---
 meta/recipes-support/libgit2/libgit2_1.6.3.bb | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/meta/recipes-support/libgit2/libgit2_1.6.3.bb b/meta/recipes-support/libgit2/libgit2_1.6.3.bb
index 554e18e4daf..cab7d7a20a8 100644
--- a/meta/recipes-support/libgit2/libgit2_1.6.3.bb
+++ b/meta/recipes-support/libgit2/libgit2_1.6.3.bb
@@ -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' \
 "