nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at r-updates 20 lines 561 B view raw
1diff --git a/CMakeLists.txt b/CMakeLists.txt 2index 2451aa65..f88d4889 100644 3--- a/CMakeLists.txt 4+++ b/CMakeLists.txt 5@@ -241,14 +241,6 @@ else() 6 set(MLX_BUILD_ACCELERATE OFF) 7 endif() 8 9-message(STATUS "Downloading json") 10-FetchContent_Declare( 11- json 12- URL https://github.com/nlohmann/json/releases/download/v3.11.3/json.tar.xz) 13-FetchContent_MakeAvailable(json) 14-target_include_directories( 15- mlx PRIVATE $<BUILD_INTERFACE:${json_SOURCE_DIR}/single_include/nlohmann>) 16- 17 add_subdirectory(${CMAKE_CURRENT_LIST_DIR}/mlx) 18 19 target_include_directories( 20