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")