Unverified Commit 046a3649 authored by Zach H's avatar Zach H Committed by GitHub
Browse files

Revert "add werror flags when making a debug build using llvm (#4338)" (#4343)

This reverts commit 890810f5

.

Co-authored-by: default avatarebbit1q <ebbit1q@gmail.com>
parent 890810f5
......@@ -134,11 +134,7 @@ ELSEIF (CMAKE_COMPILER_IS_GNUCXX)
ELSE()
# other: osx/llvm, bsd/llvm
set(CMAKE_CXX_FLAGS_RELEASE "-O2")
if(WARNING_AS_ERROR)
set(CMAKE_CXX_FLAGS_DEBUG "-g -O0 -Wall -Wextra -Werror")
else()
set(CMAKE_CXX_FLAGS_DEBUG "-g -O0 -Wall -Wextra")
endif()
set(CMAKE_CXX_FLAGS_DEBUG "-g -O0")
ENDIF()
# GNU systems need to define the Mersenne exponent for the RNG to compile w/o warning
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment