--- CMakeLists.txt.orig	2024-12-09 12:10:16 UTC
+++ CMakeLists.txt
@@ -28,10 +28,10 @@ else()
 	# If you change this, make sure to update the corresponding line in the pybind CMakeLists
 	if (MARCH_NATIVE)
 		target_compile_options(${LIBRARY_NAME} PRIVATE
-			-march=native -Wall -Werror -fPIC -Wno-ignored-optimization-argument)
+			-march=native -Wall -fPIC -Wno-ignored-optimization-argument)
 	else()
 		target_compile_options(${LIBRARY_NAME} PRIVATE
-			-Wall -Werror -fPIC)
+			-Wall -fPIC)
 	endif()
 	if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
 		target_compile_options(${LIBRARY_NAME} PRIVATE
