mirror of
https://github.com/ml-explore/mlx.git
synced 2025-12-16 01:49:05 +08:00
Update python/src/CMakeLists.txt
This commit is contained in:
@@ -51,6 +51,7 @@ set_target_properties(
|
||||
${MLX_PYTHON_BINDINGS_OUTPUT_DIRECTORY})
|
||||
|
||||
target_link_libraries(core PRIVATE mlx)
|
||||
target_include_directories(core PRIVATE nanobind::nanobind)
|
||||
target_compile_definitions(core PRIVATE _VERSION_=${MLX_VERSION})
|
||||
|
||||
if(BUILD_SHARED_LIBS)
|
||||
|
||||
Reference in New Issue
Block a user