Skip to content

Commit ae9ec1a

Browse files
authored
nlohmann json update to 3.12.0 (#803)
* update nlohmann_json 3.12.0
1 parent bdddff6 commit ae9ec1a

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

cmake/configs/default.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -420,7 +420,7 @@ hunter_default_version(nanosvg VERSION 0.0.0-2b08dee-p0)
420420
hunter_default_version(ncnn VERSION 20180314-p2)
421421
hunter_default_version(ncursesw VERSION 6.1)
422422
hunter_default_version(nlohmann_fifo_map VERSION 0.0.0-0dfbf5d-p1)
423-
hunter_default_version(nlohmann_json VERSION 3.11.2)
423+
hunter_default_version(nlohmann_json VERSION 3.12.0)
424424
hunter_default_version(nng VERSION 1.1.1)
425425
hunter_default_version(nsync VERSION 1.14-p1)
426426
hunter_default_version(occt VERSION 7.4.0-p0)

cmake/projects/nlohmann_json/hunter.cmake

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,13 @@ hunter_add_version(
227227
SHA1 1b0701dc7fdc068aad8ce68fc3e019a038232437
228228
)
229229

230+
hunter_add_version(
231+
PACKAGE_NAME nlohmann_json
232+
VERSION "3.12.0"
233+
URL "https://github.com/nlohmann/json/archive/v3.12.0.tar.gz"
234+
SHA1 815212d8acbddc87009667c52ba98a8404efec18
235+
)
236+
230237
hunter_cmake_args(nlohmann_json CMAKE_ARGS JSON_BuildTests=OFF)
231238

232239
hunter_pick_scheme(DEFAULT url_sha1_cmake)

0 commit comments

Comments
 (0)