Remove double -Werror from CXX_FLAGS
@@ -92,7 +92,7 @@ if (NOT DEFINED CMAKE_CXX_STANDARD)
endif ()
set(CMAKE_CXX_FLAGS "-fno-rtti ${CMAKE_CXX_FLAGS}")
-set(CMAKE_CXX_FLAGS "-Wall -Werror -Wextra -Weffc++ -Werror -Wno-error=deprecated-declarations ${CMAKE_CXX_FLAGS}")
+set(CMAKE_CXX_FLAGS "-Wall -Werror -Wextra -Weffc++ -Wno-error=deprecated-declarations ${CMAKE_CXX_FLAGS}")
if(APPLE)
set(CMAKE_MACOSX_RPATH 1)
