From 9c848ceae7e7e3dbb102f6116f076f0ef10ef189 Mon Sep 17 00:00:00 2001 From: Zachary Michaels Date: Wed, 6 Aug 2014 12:32:59 -0400 Subject: [PATCH] Ignore another warning to make mingw happy --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()