blob: b1553e6ddad4b95df55c53a9c7ca4b428208d2a8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
--- 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
|