From f15d16ce11080da9529f5f7550589f06096b0a4f Mon Sep 17 00:00:00 2001 From: McMassiveNZ <12842622+McMassiveNZ@users.noreply.github.com> Date: Tue, 6 Dec 2022 23:33:03 +0100 Subject: [PATCH] Update compilerwarnings.cmake Change -WError to -Werror --- scripts/compilerwarnings.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/compilerwarnings.cmake b/scripts/compilerwarnings.cmake index ec48bfa..1c00012 100644 --- a/scripts/compilerwarnings.cmake +++ b/scripts/compilerwarnings.cmake @@ -94,13 +94,13 @@ function(target_warnings_as_errors _target) target_compile_options( ${_target} PUBLIC - -WError + -Werror ) elseif(CMAKE_CXX_COMPILER_ID STREQUAL "GNU") target_compile_options( ${_target} PUBLIC - -WError + -Werror ) endif() endfunction() \ No newline at end of file