From 71e7a247c0f37795212d5b9c5a6dcf87ed739646 Mon Sep 17 00:00:00 2001
From: Kubat <mael.martin31@gmail.com>
Date: Tue, 19 Jul 2022 22:10:56 +0200
Subject: [PATCH] BUILD: Remove some warnings because it won't compile with
 Clang/LLVM 14 => some C99 compat things + float to double conversions in SDL2

---
 CMakeLists.txt | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index a08ca4cb..b87e20ce 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -66,6 +66,8 @@ set(Clang_C_FLAGS
     -Wno-format-nonliteral
     -Wno-missing-variable-declarations
     -Wno-unknown-warning-option
+    -Wno-declaration-after-statement
+    -Wno-double-promotion # Because of SDL2...
     -fcolor-diagnostics
 )
 set(Clang_CXX_FLAGS
-- 
GitLab