summaryrefslogtreecommitdiff
path: root/kde-misc/latte-dock/files/latte-dock-0.10.1-dont-hide-warnings.patch
blob: 2128e2304683cfa2415cb9ab2814e2c38de7aecf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
From ac28e1e851c7d00137a3e94ccca33601d33edf9d Mon Sep 17 00:00:00 2001
From: Andreas Sturmlechner <asturm@gentoo.org>
Date: Wed, 25 Aug 2021 12:02:26 +0200
Subject: [PATCH] Do not hide warnings

Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
---
 CMakeLists.txt | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 1ee5ce24..a6024baa 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -77,13 +77,6 @@ include(WriteBasicConfigVersionFile)
 
 include(Definitions.cmake)
 
-#hide warnings
-string(REPLACE "-Wall" "" CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS})
-string(REPLACE "-Wdeprecated-declarations" "" CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS})
-string(REPLACE "-Wreorder" "" CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS})
-string(REPLACE "-Wunused-variable" "" CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS})
-string(REPLACE "-Wunused-parameter" "" CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS})
-
 #add format security check
 set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wformat -Werror=format-security")
 
-- 
2.33.0