mingw library tweaks
This commit is contained in:
parent
2cf94c1321
commit
26728d94fe
|
@ -213,10 +213,7 @@ endif()
|
|||
|
||||
include_directories(SYSTEM ${Boost_INCLUDE_DIRS})
|
||||
if(MINGW)
|
||||
find_library(PTHREAD pthread)
|
||||
find_library(MSWSOCK mswsock)
|
||||
find_library(WS2_32 ws2_32)
|
||||
set(EXTRA_LIBRARIES ${PTHREAD} ${MSWSOCK} ${WS2_32})
|
||||
set(EXTRA_LIBRARIES pthread;mswsock;ws2_32)
|
||||
elseif(APPLE OR FREEBSD)
|
||||
set(EXTRA_LIBRARIES "")
|
||||
elseif(NOT MSVC)
|
||||
|
|
Loading…
Reference in New Issue