diff --git a/CMakeLists.txt b/CMakeLists.txt index 3b79a5933..f79402bcc 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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