mirror of
https://github.com/ml-explore/mlx.git
synced 2025-08-22 04:56:41 +08:00
lighter weight json
This commit is contained in:
parent
680f18cca5
commit
1baff8c2b4
@ -99,11 +99,7 @@ elseif (MLX_BUILD_METAL)
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
MESSAGE(STATUS "Downloading json")
|
MESSAGE(STATUS "Downloading json")
|
||||||
FetchContent_Declare(
|
FetchContent_Declare(json URL https://github.com/nlohmann/json/releases/download/v3.11.3/json.tar.xz)
|
||||||
json
|
|
||||||
GIT_REPOSITORY "https://github.com/nlohmann/json"
|
|
||||||
GIT_TAG "v3.11.3"
|
|
||||||
)
|
|
||||||
FetchContent_MakeAvailable(json)
|
FetchContent_MakeAvailable(json)
|
||||||
target_include_directories(
|
target_include_directories(
|
||||||
mlx PUBLIC
|
mlx PUBLIC
|
||||||
|
Loading…
Reference in New Issue
Block a user