Use bundled nlohmann

patch-6ee5522513d8ef3f2bb53d8fc09b93876f919a8a
Joseph Donofry 2019-05-12 14:36:54 -04:00
parent 12a49c1992
commit fb6ffb460f
1 changed files with 2 additions and 2 deletions

View File

@ -11,7 +11,7 @@ url="https://github.com/Nheko-Reborn/nheko"
license=("GPL3") license=("GPL3")
depends=("qt5-base" "lmdb" "qt5-multimedia" "qt5-svg" "boost" "libsodium" "openssl" "cmark") depends=("qt5-base" "lmdb" "qt5-multimedia" "qt5-svg" "boost" "libsodium" "openssl" "cmark")
makedepends=("git" "cmake" "gcc" "fontconfig" "qt5-tools" "nlohmann-json") makedepends=("git" "cmake" "gcc" "fontconfig" "qt5-tools")
provides=("nheko") provides=("nheko")
conflicts=("nheko") conflicts=("nheko")
@ -33,7 +33,7 @@ build() {
rm -f cmake/FindOlm.cmake rm -f cmake/FindOlm.cmake
cmake -Hdeps -B.deps -DUSE_BUNDLED_BOOST=OFF -DUSE_BUNDLED_CMARK=OFF cmake -Hdeps -B.deps -DUSE_BUNDLED_BOOST=OFF -DUSE_BUNDLED_CMARK=OFF -DUSE_BUNDLED_JSON=ON
cmake --build .deps cmake --build .deps
cmake -H. -Bbuild -DCMAKE_BUILD_TYPE=Release \ cmake -H. -Bbuild -DCMAKE_BUILD_TYPE=Release \