diff --git a/cmake/configs/default.cmake b/cmake/configs/default.cmake index 5fe1137445..35b527b45e 100644 --- a/cmake/configs/default.cmake +++ b/cmake/configs/default.cmake @@ -420,7 +420,7 @@ hunter_default_version(nanosvg VERSION 0.0.0-2b08dee-p0) hunter_default_version(ncnn VERSION 20180314-p2) hunter_default_version(ncursesw VERSION 6.1) hunter_default_version(nlohmann_fifo_map VERSION 0.0.0-0dfbf5d-p1) -hunter_default_version(nlohmann_json VERSION 3.11.2) +hunter_default_version(nlohmann_json VERSION 3.12.0) hunter_default_version(nng VERSION 1.1.1) hunter_default_version(nsync VERSION 1.14-p1) hunter_default_version(occt VERSION 7.4.0-p0) diff --git a/cmake/projects/nlohmann_json/hunter.cmake b/cmake/projects/nlohmann_json/hunter.cmake index 715ad60125..5446b4c877 100644 --- a/cmake/projects/nlohmann_json/hunter.cmake +++ b/cmake/projects/nlohmann_json/hunter.cmake @@ -227,6 +227,13 @@ hunter_add_version( SHA1 1b0701dc7fdc068aad8ce68fc3e019a038232437 ) +hunter_add_version( + PACKAGE_NAME nlohmann_json + VERSION "3.12.0" + URL "https://github.com/nlohmann/json/archive/v3.12.0.tar.gz" + SHA1 815212d8acbddc87009667c52ba98a8404efec18 +) + hunter_cmake_args(nlohmann_json CMAKE_ARGS JSON_BuildTests=OFF) hunter_pick_scheme(DEFAULT url_sha1_cmake)