From 0a1306aefa9a126670a26ead5816b8d8282f4b34 Mon Sep 17 00:00:00 2001 From: Adam Honse Date: Fri, 16 Sep 2022 11:45:08 -0500 Subject: [PATCH] Turn off explicit fallthrough warning in Linux (GCC) --- OpenRGB.pro | 2 ++ 1 file changed, 2 insertions(+) diff --git a/OpenRGB.pro b/OpenRGB.pro index f18885a0..21c7a9d0 100644 --- a/OpenRGB.pro +++ b/OpenRGB.pro @@ -1503,6 +1503,8 @@ contains(QMAKE_PLATFORM, linux) { LIBS += -lstdc++fs } + QMAKE_CXXFLAGS += -Wno-implicit-fallthrough + #-------------------------------------------------------------------------------------------# # Determine which hidapi to use based on availability # # Prefer hidraw backend, then libusb #