mirror of
https://github.com/SChernykh/p2pool.git
synced 2024-12-23 03:49:23 +00:00
Removed dl
dependency
This commit is contained in:
parent
67f091b843
commit
be434329d1
3 changed files with 4 additions and 4 deletions
|
@ -124,7 +124,7 @@ if (WIN32)
|
||||||
elseif (CMAKE_SYSTEM_NAME STREQUAL FreeBSD)
|
elseif (CMAKE_SYSTEM_NAME STREQUAL FreeBSD)
|
||||||
set(LIBS ${LIBS} pthread)
|
set(LIBS ${LIBS} pthread)
|
||||||
elseif (NOT APPLE)
|
elseif (NOT APPLE)
|
||||||
set(LIBS ${LIBS} pthread dl)
|
set(LIBS ${LIBS} pthread)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if (CMAKE_CXX_COMPILER_ID MATCHES MSVC)
|
if (CMAKE_CXX_COMPILER_ID MATCHES MSVC)
|
||||||
|
@ -226,7 +226,7 @@ if (STATIC_BINARY OR STATIC_LIBS)
|
||||||
find_library(SYSTEM_CONFIGURATION_LIB SystemConfiguration)
|
find_library(SYSTEM_CONFIGURATION_LIB SystemConfiguration)
|
||||||
set(STATIC_LIBS ${STATIC_LIBS} ${FOUNDATION_LIB} ${CORE_FOUNDATION_LIB} ${SYSTEM_CONFIGURATION_LIB})
|
set(STATIC_LIBS ${STATIC_LIBS} ${FOUNDATION_LIB} ${CORE_FOUNDATION_LIB} ${SYSTEM_CONFIGURATION_LIB})
|
||||||
else()
|
else()
|
||||||
set(STATIC_LIBS ${STATIC_LIBS} pthread dl)
|
set(STATIC_LIBS ${STATIC_LIBS} pthread)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
target_link_libraries(${CMAKE_PROJECT_NAME}
|
target_link_libraries(${CMAKE_PROJECT_NAME}
|
||||||
|
|
2
external/src/libuv
vendored
2
external/src/libuv
vendored
|
@ -1 +1 @@
|
||||||
Subproject commit 0c1fa696aa502eb749c2c4735005f41ba00a27b8
|
Subproject commit 55077af4b50e13c5b7c02131ff16695685478fc8
|
|
@ -96,7 +96,7 @@ if (WIN32)
|
||||||
endif()
|
endif()
|
||||||
add_definitions(-DCURL_STATICLIB)
|
add_definitions(-DCURL_STATICLIB)
|
||||||
elseif (NOT APPLE)
|
elseif (NOT APPLE)
|
||||||
set(LIBS ${LIBS} pthread dl)
|
set(LIBS ${LIBS} pthread)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if (STATIC_LIBS)
|
if (STATIC_LIBS)
|
||||||
|
|
Loading…
Reference in a new issue