mirror of
https://github.com/monero-project/monero.git
synced 2024-12-23 12:09:54 +00:00
cmake: clean up EXTRA_LIBRARIES
pthread is handled by CMAKE_THREAD_LIBS_INIT while libdl isn't needed.
This commit is contained in:
parent
3b7bdcb790
commit
9689df925c
1 changed files with 1 additions and 3 deletions
|
@ -222,13 +222,11 @@ endif()
|
||||||
|
|
||||||
include_directories(SYSTEM ${Boost_INCLUDE_DIRS})
|
include_directories(SYSTEM ${Boost_INCLUDE_DIRS})
|
||||||
if(MINGW)
|
if(MINGW)
|
||||||
set(EXTRA_LIBRARIES pthread;mswsock;ws2_32)
|
set(EXTRA_LIBRARIES mswsock;ws2_32;iphlpapi)
|
||||||
elseif(APPLE OR FREEBSD)
|
elseif(APPLE OR FREEBSD)
|
||||||
set(EXTRA_LIBRARIES "")
|
set(EXTRA_LIBRARIES "")
|
||||||
elseif(NOT MSVC)
|
elseif(NOT MSVC)
|
||||||
find_library(RT rt)
|
find_library(RT rt)
|
||||||
find_library(PTHREAD pthread)
|
|
||||||
find_library(DL dl)
|
|
||||||
set(EXTRA_LIBRARIES ${RT} ${PTHREAD} ${DL})
|
set(EXTRA_LIBRARIES ${RT} ${PTHREAD} ${DL})
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue