mirror of
				https://github.com/ml-explore/mlx.git
				synced 2025-11-01 00:28:11 +08:00 
			
		
		
		
	Link python extension with mlx statically on Windows (#1716)
* Link python extension with mlx statically on Windows * More readable code
This commit is contained in:
		| @@ -266,10 +266,7 @@ install( | ||||
|   EXPORT MLXTargets | ||||
|   LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} | ||||
|   ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} | ||||
|   RUNTIME | ||||
|     DESTINATION | ||||
|       # On Windows, DLLs must be put in the same dir with the python bindings. | ||||
|       $<IF:$<BOOL:${WIN32}>,${CMAKE_INSTALL_PREFIX},${CMAKE_INSTALL_BINDIR}> | ||||
|   RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} | ||||
|   INCLUDES | ||||
|   DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}) | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Cheng
					Cheng