mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-22 23:42:24 +00:00
mingw library tweaks
This commit is contained in:
parent
2cf94c1321
commit
26728d94fe
1 changed files with 1 additions and 4 deletions
|
@ -213,10 +213,7 @@ endif()
|
||||||
|
|
||||||
include_directories(SYSTEM ${Boost_INCLUDE_DIRS})
|
include_directories(SYSTEM ${Boost_INCLUDE_DIRS})
|
||||||
if(MINGW)
|
if(MINGW)
|
||||||
find_library(PTHREAD pthread)
|
set(EXTRA_LIBRARIES pthread;mswsock;ws2_32)
|
||||||
find_library(MSWSOCK mswsock)
|
|
||||||
find_library(WS2_32 ws2_32)
|
|
||||||
set(EXTRA_LIBRARIES ${PTHREAD} ${MSWSOCK} ${WS2_32})
|
|
||||||
elseif(APPLE OR FREEBSD)
|
elseif(APPLE OR FREEBSD)
|
||||||
set(EXTRA_LIBRARIES "")
|
set(EXTRA_LIBRARIES "")
|
||||||
elseif(NOT MSVC)
|
elseif(NOT MSVC)
|
||||||
|
|
Loading…
Reference in a new issue