mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-12-23 02:08:53 +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
@ -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 New Issue
Block a user