-Removed -Werror from release build, was causing non-fatal errors on different systems.
parent
6f283dbdd0
commit
85cb9e9d8d
|
@ -37,8 +37,8 @@ IF(BUILD_TESTS)
|
|||
ENDIF(BUILD_TESTS)
|
||||
|
||||
IF(RELEASE_BUILD)
|
||||
SET(CMAKE_CXX_FLAGS "-g -Wall -Werror -Wno-unused-variable -msse2 -mfpmath=sse -ffast-math")
|
||||
SET(CMAKE_C_FLAGS "-g -Wall -Werror -W -Wno-unused-variable -msse2 -mfpmath=sse -ffast-math")
|
||||
SET(CMAKE_CXX_FLAGS "-g -Wall -Wno-unused-variable -msse2 -mfpmath=sse -ffast-math")
|
||||
SET(CMAKE_C_FLAGS "-g -Wall -W -Wno-unused-variable -msse2 -mfpmath=sse -ffast-math")
|
||||
ENDIF(RELEASE_BUILD)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue