From 15af0726f153377229d180ad69ab1c13dc99bed3 Mon Sep 17 00:00:00 2001 From: WerWolv Date: Sat, 9 Dec 2023 13:57:46 +0100 Subject: [PATCH] build: Disable error on unknown warning flags --- cmake/build_helpers.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/build_helpers.cmake b/cmake/build_helpers.cmake index 7ec385fcf..bfb25a490 100644 --- a/cmake/build_helpers.cmake +++ b/cmake/build_helpers.cmake @@ -452,7 +452,7 @@ macro(setupCompilerFlags target) set(IMHEX_CXX_FLAGS "-fexceptions -frtti") # Disable some warnings - set(IMHEX_C_CXX_FLAGS "-Wno-array-bounds -Wno-deprecated-declarations") + set(IMHEX_C_CXX_FLAGS "-Wno-unknown-warning-option -Wno-array-bounds -Wno-deprecated-declarations") if (IMHEX_ENABLE_UNITY_BUILD AND WIN32) set(IMHEX_COMMON_FLAGS "${IMHEX_COMMON_FLAGS} -Wa,-mbig-obj")