From a31d6bb9fbc9b8b922bf40abd943eddeff3d6ff9 Mon Sep 17 00:00:00 2001 From: Zachary Michaels Date: Wed, 6 Aug 2014 12:42:24 -0400 Subject: [PATCH] Hack to allow toolchains to pass flags to mingw --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 79e0152ef..dbbd097b9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -99,7 +99,7 @@ else() endif() if(MINGW) set(WARNINGS "${WARNINGS} -Wno-error=unused-value -Wno-error=unused-but-set-variable") - set(MINGW_FLAG "-DWIN32_LEAN_AND_MEAN") + set(MINGW_FLAG "${MINGW_FLAG} -DWIN32_LEAN_AND_MEAN") include_directories(SYSTEM src/platform/mingw) else() set(MINGW_FLAG "")