d8013cc09f
Diff: https://github.com/ml-explore/mlx/compare/v0.30.1...v0.30.3 Changelog: https://github.com/ml-explore/mlx/releases/tag/v0.30.3
20 lines
564 B
Diff
20 lines
564 B
Diff
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index 0ed30932..e5842707 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -339,13 +339,7 @@ if(MLX_BUILD_PYTHON_BINDINGS)
|
|
Python 3.10
|
|
COMPONENTS Interpreter Development.Module
|
|
REQUIRED)
|
|
- FetchContent_Declare(
|
|
- nanobind
|
|
- GIT_REPOSITORY https://github.com/wjakob/nanobind.git
|
|
- GIT_TAG v2.10.2
|
|
- GIT_SHALLOW TRUE
|
|
- EXCLUDE_FROM_ALL)
|
|
- FetchContent_MakeAvailable(nanobind)
|
|
+ find_package(nanobind CONFIG REQUIRED)
|
|
add_subdirectory(${CMAKE_CURRENT_LIST_DIR}/python/src)
|
|
endif()
|
|
|