More fixing for Windows
This commit is contained in:
parent
e8baa57326
commit
03e545d323
|
@ -322,7 +322,7 @@ else()
|
||||||
endif()
|
endif()
|
||||||
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 -D_POSIX_C_SOURCE")
|
||||||
set(Boost_THREADAPI win32)
|
set(Boost_THREADAPI win32)
|
||||||
include_directories(SYSTEM src/platform/mingw)
|
include_directories(SYSTEM src/platform/mingw)
|
||||||
# mingw doesn't support LTO (multiple definition errors at link time)
|
# mingw doesn't support LTO (multiple definition errors at link time)
|
||||||
|
|
Loading…
Reference in New Issue