Set the boost thread api for mingw
This commit is contained in:
parent
a31d6bb9fb
commit
44f920b0fd
|
@ -100,6 +100,7 @@ else()
|
||||||
if(MINGW)
|
if(MINGW)
|
||||||
set(WARNINGS "${WARNINGS} -Wno-error=unused-value -Wno-error=unused-but-set-variable")
|
set(WARNINGS "${WARNINGS} -Wno-error=unused-value -Wno-error=unused-but-set-variable")
|
||||||
set(MINGW_FLAG "${MINGW_FLAG} -DWIN32_LEAN_AND_MEAN")
|
set(MINGW_FLAG "${MINGW_FLAG} -DWIN32_LEAN_AND_MEAN")
|
||||||
|
set(Boost_THREADAPI win32)
|
||||||
include_directories(SYSTEM src/platform/mingw)
|
include_directories(SYSTEM src/platform/mingw)
|
||||||
else()
|
else()
|
||||||
set(MINGW_FLAG "")
|
set(MINGW_FLAG "")
|
||||||
|
|
Loading…
Reference in New Issue