Skip to content
Snippets Groups Projects
Commit b3673e39 authored by Rye Mutt's avatar Rye Mutt :bread:
Browse files

Actually include nlohmann json dependency

parent e29d3aa2
No related branches found
No related tags found
No related merge requests found
...@@ -26,11 +26,11 @@ FetchContent_Declare( ...@@ -26,11 +26,11 @@ FetchContent_Declare(
# GIT_REPOSITORY https://github.com/fmtlib/fmt.git # GIT_REPOSITORY https://github.com/fmtlib/fmt.git
# GIT_TAG 6.1.2 # GIT_TAG 6.1.2
# ) # )
# FetchContent_Declare( FetchContent_Declare(
# nlohmann_json nlohmann_json
# GIT_REPOSITORY https://github.com/nlohmann/json.git GIT_REPOSITORY https://github.com/nlohmann/json.git
# GIT_TAG v3.7.3 GIT_TAG v3.7.3
# ) )
FetchContent_Declare( FetchContent_Declare(
absl absl
GIT_REPOSITORY https://github.com/abseil/abseil-cpp.git GIT_REPOSITORY https://github.com/abseil/abseil-cpp.git
...@@ -63,10 +63,10 @@ FetchContent_MakeAvailable(meshoptimizer) ...@@ -63,10 +63,10 @@ FetchContent_MakeAvailable(meshoptimizer)
# # run from your own project's code. # # run from your own project's code.
# set(JSON_BuildTests OFF CACHE INTERNAL "") # set(JSON_BuildTests OFF CACHE INTERNAL "")
# # If you only include this third party in PRIVATE source files, you do not # If you only include this third party in PRIVATE source files, you do not
# # need to install it when your main project gets installed. # need to install it when your main project gets installed.
# set(JSON_Install OFF CACHE INTERNAL "") set(JSON_Install OFF CACHE INTERNAL "")
# FetchContent_MakeAvailable(nlohmann_json) FetchContent_MakeAvailable(nlohmann_json)
unset(CMAKE_FOLDER) unset(CMAKE_FOLDER)
unset(CMAKE_POSITION_INDEPENDENT_CODE) unset(CMAKE_POSITION_INDEPENDENT_CODE)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment