Verified Commit ee3752b8 authored by Alberto Miranda's avatar Alberto Miranda ♨️
Browse files

Enable -Werror flag

parent 721f8224
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -293,7 +293,7 @@ find_package(RedisPlusPlus 1.3.3 REQUIRED)
# ##############################################################################

# set compile flags
add_compile_options("-Wall" "-Wextra" "$<$<CONFIG:RELEASE>:-O3>")
add_compile_options("-Wall" "-Wextra" "-Werror" "$<$<CONFIG:RELEASE>:-O3>")
if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
  add_compile_options("-stdlib=libc++")
else ()