From f09eca006246d54fad0247d2077bd6298081f7ce Mon Sep 17 00:00:00 2001 From: xpamych Date: Thu, 4 Jan 2024 03:47:21 +0300 Subject: [PATCH] 1 --- nlohmann-json/lure.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/nlohmann-json/lure.sh b/nlohmann-json/lure.sh index 5f9b754..81b49a0 100755 --- a/nlohmann-json/lure.sh +++ b/nlohmann-json/lure.sh @@ -15,7 +15,7 @@ checksums=('SKIP') build() { - cd "${srcdir}/" + cd "${srcdir}/json" mkdir build cd ./build cmake ../json -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_LIBDIR=lib -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_TESTING=OFF @@ -24,7 +24,7 @@ build() { check() { - cd "${srcdir}/build" + cd "${srcdir}/json/build" cmake ../json -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_LIBDIR=lib -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_TESTING=ON make -j$(nproc) ctest --output-on-failure @@ -32,6 +32,6 @@ check() { package() { - cd "${srcdir}/build" + cd "${srcdir}/json/build" make "DESTDIR=${pkgdir}" install }