Add json.hpp as the JSON lib.

This commit is contained in:
Guillaume Jacquemin 2021-07-28 14:17:47 +02:00
parent ee384843e9
commit 51127241ef
4 changed files with 9 additions and 0 deletions

4
.gitmodules vendored
View file

@ -30,3 +30,7 @@
path = third-party/cpr
url = https://github.com/whoshuu/cpr
branch = master
[submodule "json.hpp"]
path = third-party/json
url = https://github.com/nlohmann/json
branch = master

View file

@ -92,4 +92,7 @@ set(CPR_BUILD_TESTS OFF CACHE BOOL "" FORCE)
set(CMAKE_USE_LIBSSH2 OFF CACHE BOOL "" FORCE) # For some reason, even when HTTP_ONLY is set to ON, libcurl will try to link to libssh2.
add_subdirectory(third-party/cpr EXCLUDE_FROM_ALL)
set(JSON_BuildTests OFF CACHE BOOL "" FORCE)
add_subdirectory(third-party/json)
add_subdirectory(src)

View file

@ -78,5 +78,6 @@ target_link_libraries(MassBuilderSaveTool PRIVATE
efsw
zip
cpr::cpr
nlohmann_json::nlohmann_json
imm32
wtsapi32)

1
third-party/json vendored Submodule

@ -0,0 +1 @@
Subproject commit 350ff4f7ced7c4117eae2fb93df02823c8021fcb