From 57828c18ec418b077e9bb6af3c3ad2a71084599c Mon Sep 17 00:00:00 2001 From: xpamych Date: Sat, 29 Apr 2023 15:45:40 +0300 Subject: [PATCH] 1 --- nlohmann-json/lure.sh | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/nlohmann-json/lure.sh b/nlohmann-json/lure.sh index b908bb5..0499465 100644 --- a/nlohmann-json/lure.sh +++ b/nlohmann-json/lure.sh @@ -19,19 +19,11 @@ build() { cd "${srcdir}/" mkdir build cd ./build - cmake ../json -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_LIBDIR=lib -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_TESTING=OFF + #cmake ../json -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_LIBDIR=lib -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_TESTING=OFF make -j$(nproc) } -check() { - cd "${srcdir}/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 -} - - package() { cd "${srcdir}/build" make "DESTDIR=${pkgdir}" install