blob: 11d332048d06c7cb2d33d19db7588dcb4d16f56a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
diff -ur a/CMake/utility.cmake b/CMake/utility.cmake
--- a/CMake/utility.cmake 2024-06-04 17:45:24.308248159 +0000
+++ b/CMake/utility.cmake 2024-06-04 17:46:10.476409691 +0000
@@ -392,10 +392,10 @@
####################################################################################
function( set_compiler_warnings target)
if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
- set(WARNINGS "-Werror"
+ set(WARNINGS "-Wextra"
"-Wall")
elseif(CMAKE_CXX_COMPILER_ID MATCHES "Clang")
- set(WARNINGS "-Werror"
+ set(WARNINGS "-Wextra"
"-Wall")
elseif(MSVC)
set(WARNINGS "/WX"
|