blob: 70634c305da0ed8e9e8f55a7187b5504faaa19b3 (
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
|
From 1d8d704a0562a7d98036a6c08d647681d3d9fe7b Mon Sep 17 00:00:00 2001
From: howetuft <howetuft@gmail.com>
Date: Mon, 31 Jan 2022 19:47:16 +0100
Subject: [PATCH] Silence C++ warnings
---
CMakeLists.txt | 1 +
1 file changed, 1 insertion(+)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 78316b671..74f5465ef 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -45,6 +45,7 @@ unset(CMAKE_CONFIGURATION_TYPES CACHE)
# This boots up the generator:
enable_language(C)
enable_language(CXX)
+set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -w")
if (CMAKE_CONFIGURATION_TYPES)
--
2.34.1
|