aboutsummaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
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")