blob: 04c65203ac9169165492ac993920c73eea2c28b1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
This causes build failures with modern GCC, and is against Gentoo policy in any case.
--- a/CMake/utility.cmake
+++ b/CMake/utility.cmake
@@ -392,11 +392,9 @@
####################################################################################
function( set_compiler_warnings target)
if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
- set(WARNINGS "-Werror"
- "-Wall")
+ set(WARNINGS "-Wall")
elseif(CMAKE_CXX_COMPILER_ID MATCHES "Clang")
- set(WARNINGS "-Werror"
- "-Wall")
+ set(WARNINGS "-Wall")
elseif(MSVC)
set(WARNINGS "/WX"
"/W4")
|