Skip to content

Commit

Permalink
Update nlohmann_json to v3.11.1 (#596)
Browse files Browse the repository at this point in the history
  • Loading branch information
falbrechtskirchinger committed Aug 2, 2022
1 parent 36588ef commit ca922ef
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/configs/default.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,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.10.5)
hunter_default_version(nlohmann_json VERSION 3.11.1)
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)
Expand Down
9 changes: 9 additions & 0 deletions cmake/projects/nlohmann_json/hunter.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,15 @@ hunter_add_version(
SHA1 8969f5ad1a422e01f040ff48dcae9c0e6ad0811d
)

# v3.11.0 omitted; was released with a bug

hunter_add_version(
PACKAGE_NAME nlohmann_json
VERSION "3.11.1"
URL "https://github.com/nlohmann/json/archive/v3.11.1.tar.gz"
SHA1 ac7ee8446d7c5099a590c3fdb05df5ce56ee04c8
)

hunter_cmake_args(nlohmann_json CMAKE_ARGS JSON_BuildTests=OFF)

hunter_pick_scheme(DEFAULT url_sha1_cmake)
Expand Down

0 comments on commit ca922ef

Please sign in to comment.