diff --git a/CMakeLists.txt b/CMakeLists.txt index 8c6b0289b..79e0152ef 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -98,7 +98,7 @@ else() set(CMAKE_RANLIB "gcc-ranlib") endif() if(MINGW) - set(WARNINGS "${WARNINGS} -Wno-error=unused-value") + set(WARNINGS "${WARNINGS} -Wno-error=unused-value -Wno-error=unused-but-set-variable") set(MINGW_FLAG "-DWIN32_LEAN_AND_MEAN") include_directories(SYSTEM src/platform/mingw) else()