This reverts commit 890810f5b9
.
Co-authored-by: ebbit1q <ebbit1q@gmail.com>
This commit is contained in:
parent
890810f5b9
commit
046a3649ed
1 changed files with 1 additions and 5 deletions
|
@ -134,11 +134,7 @@ ELSEIF (CMAKE_COMPILER_IS_GNUCXX)
|
||||||
ELSE()
|
ELSE()
|
||||||
# other: osx/llvm, bsd/llvm
|
# other: osx/llvm, bsd/llvm
|
||||||
set(CMAKE_CXX_FLAGS_RELEASE "-O2")
|
set(CMAKE_CXX_FLAGS_RELEASE "-O2")
|
||||||
if(WARNING_AS_ERROR)
|
set(CMAKE_CXX_FLAGS_DEBUG "-g -O0")
|
||||||
set(CMAKE_CXX_FLAGS_DEBUG "-g -O0 -Wall -Wextra -Werror")
|
|
||||||
else()
|
|
||||||
set(CMAKE_CXX_FLAGS_DEBUG "-g -O0 -Wall -Wextra")
|
|
||||||
endif()
|
|
||||||
ENDIF()
|
ENDIF()
|
||||||
|
|
||||||
# GNU systems need to define the Mersenne exponent for the RNG to compile w/o warning
|
# GNU systems need to define the Mersenne exponent for the RNG to compile w/o warning
|
||||||
|
|
Loading…
Reference in a new issue