Only compile warnings as errors for circle (#1957)

This commit is contained in:
Awni Hannun
2025-03-12 13:08:19 -07:00
committed by GitHub
parent 32da94507a
commit d2a94f9e6a
2 changed files with 7 additions and 4 deletions

View File

@@ -77,7 +77,6 @@ include(FetchContent)
cmake_policy(SET CMP0135 NEW)
add_library(mlx)
set_target_properties(mlx PROPERTIES COMPILE_WARNING_AS_ERROR ON)
if(MLX_BUILD_METAL)
set(METAL_LIB "-framework Metal")