mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-03-14 08:26:37 +01:00
20 lines
561 B
Diff
20 lines
561 B
Diff
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index 2451aa65..f88d4889 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -241,14 +241,6 @@ else()
|
|
set(MLX_BUILD_ACCELERATE OFF)
|
|
endif()
|
|
|
|
-message(STATUS "Downloading json")
|
|
-FetchContent_Declare(
|
|
- json
|
|
- URL https://github.com/nlohmann/json/releases/download/v3.11.3/json.tar.xz)
|
|
-FetchContent_MakeAvailable(json)
|
|
-target_include_directories(
|
|
- mlx PRIVATE $<BUILD_INTERFACE:${json_SOURCE_DIR}/single_include/nlohmann>)
|
|
-
|
|
add_subdirectory(${CMAKE_CURRENT_LIST_DIR}/mlx)
|
|
|
|
target_include_directories(
|
|
|