From 7244b9d17e2f8ab0a080f5161a81f6cf0976fea4 Mon Sep 17 00:00:00 2001 From: ISSOtm Date: Mon, 16 Mar 2026 23:04:49 +0100 Subject: [PATCH] Silence the same warning as in the Makefile As requested by https://github.com/gbdev/rgbds/pull/1899#discussion_r2943039607 --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 52dd9816..7f42148c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -48,7 +48,7 @@ if(MSVC) add_compile_options(/fsanitize=address) # Note that this shouldn't be passed to the linker. endif() else() - add_compile_options(-Wall -pedantic -fno-exceptions -fno-rtti + add_compile_options(-Wall -pedantic -fno-exceptions -fno-rtti -Wno-unknown-warning-option # C++20 allows macros to take zero variadic arguments. # Some versions of Clang don't recognize this, and treat them as a GNU extension. -Wno-gnu-zero-variadic-macro-arguments)