Set the boost thread api for mingw

This commit is contained in:
Zachary Michaels 2014-08-06 12:43:01 -04:00 committed by Riccardo Spagni
parent a31d6bb9fb
commit 44f920b0fd

View file

@ -100,6 +100,7 @@ else()
if(MINGW)
set(WARNINGS "${WARNINGS} -Wno-error=unused-value -Wno-error=unused-but-set-variable")
set(MINGW_FLAG "${MINGW_FLAG} -DWIN32_LEAN_AND_MEAN")
set(Boost_THREADAPI win32)
include_directories(SYSTEM src/platform/mingw)
else()
set(MINGW_FLAG "")