Ignore another warning to make mingw happy

This commit is contained in:
Zachary Michaels 2014-08-06 12:32:59 -04:00 committed by Riccardo Spagni
parent 0fe311b2f0
commit 9c848ceae7

View file

@ -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()