From 5c46d8ea866751213269bd6527d4f71c890f23a0 Mon Sep 17 00:00:00 2001 From: Peter Harris Date: Wed, 9 Oct 2024 16:13:00 +0000 Subject: [PATCH] Disable -Wpedantic for external files --- Source/cmake_core.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/cmake_core.cmake b/Source/cmake_core.cmake index b53bfa04..7442d790 100644 --- a/Source/cmake_core.cmake +++ b/Source/cmake_core.cmake @@ -453,6 +453,7 @@ endmacro() string(CONCAT EXTERNAL_CXX_FLAGS " $<${is_gnu_fe}: -fno-strict-aliasing>" + " $<${is_gnu_fe}: -Wno-pedantic>" " $<${is_gnu_fe}: -Wno-unused-parameter>" " $<${is_gnu_fe}: -Wno-old-style-cast>" " $<${is_gnu_fe}: -Wno-double-promotion>"