lighter weight json

This commit is contained in:
Awni Hannun 2023-12-23 06:39:55 -08:00
parent 680f18cca5
commit 1baff8c2b4

View File

@ -99,11 +99,7 @@ elseif (MLX_BUILD_METAL)
endif()
MESSAGE(STATUS "Downloading json")
FetchContent_Declare(
json
GIT_REPOSITORY "https://github.com/nlohmann/json"
GIT_TAG "v3.11.3"
)
FetchContent_Declare(json URL https://github.com/nlohmann/json/releases/download/v3.11.3/json.tar.xz)
FetchContent_MakeAvailable(json)
target_include_directories(
mlx PUBLIC