diff --git a/cmake/CompileFlags.cmake b/cmake/CompileFlags.cmake index 879e30133f..a02a65e162 100644 --- a/cmake/CompileFlags.cmake +++ b/cmake/CompileFlags.cmake @@ -41,6 +41,7 @@ macro(compile_flags) "$<$:-Wa,-mbig-obj>" # Switch to pe-bigobj-x86-64 as x64 Debug builds push pe-x86-64 to the limits (linking errors with ASLR, ...) ) endif() + add_compile_options(-Wno-stringop-overflow) # This warning false-positives on some MinGW versions so just turn it off endif() # Prepare a generator that checks if we are not a debug, and don't have asserts