aboutsummaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorRachel Powers <508861+Ryex@users.noreply.github.com>2023-06-30 23:17:18 -0700
committerRachel Powers <508861+Ryex@users.noreply.github.com>2023-07-01 17:03:11 -0700
commitd7d2d9f6123618273f753fd07263c807112031d2 (patch)
treee67d34774041fe5a1c4b645f245e3f1daaeadd7b /cmake
parent2a5d291bd940ea61b8254eb78b478ae86ed17f59 (diff)
downloadPrismLauncher-d7d2d9f6123618273f753fd07263c807112031d2.tar.gz
PrismLauncher-d7d2d9f6123618273f753fd07263c807112031d2.tar.bz2
PrismLauncher-d7d2d9f6123618273f753fd07263c807112031d2.zip
chore: remove WARNINGS_AS_ERRORS
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
Diffstat (limited to 'cmake')
-rw-r--r--cmake/CompilerWarnings.cmake9
1 files changed, 0 insertions, 9 deletions
diff --git a/cmake/CompilerWarnings.cmake b/cmake/CompilerWarnings.cmake
index b0366401..635e5428 100644
--- a/cmake/CompilerWarnings.cmake
+++ b/cmake/CompilerWarnings.cmake
@@ -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")