chore: remove WARNINGS_AS_ERRORS

Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
This commit is contained in:
Rachel Powers
2023-06-30 23:17:18 -07:00
parent 2a5d291bd9
commit d7d2d9f612
2 changed files with 0 additions and 11 deletions

View File

@ -39,7 +39,6 @@ endfunction()
function(
set_project_warnings
_project_name
WARNINGS_AS_ERRORS
MSVC_WARNINGS
CLANG_WARNINGS
GCC_WARNINGS
@ -105,14 +104,6 @@ function(
)
endif()
if(WARNINGS_AS_ERRORS)
message(TRACE "Warnings are treated as errors")
list(APPEND CLANG_WARNINGS -Werror)
list(APPEND GCC_WARNINGS -Werror)
list(APPEND MSVC_WARNINGS /WX)
endif()
if(MSVC)
set(PROJECT_WARNINGS_CXX ${MSVC_WARNINGS})
elseif(CMAKE_CXX_COMPILER_ID MATCHES ".*Clang")