Removed dl dependency

This commit is contained in:
SChernykh 2023-01-26 15:45:41 +01:00
parent 67f091b843
commit be434329d1
3 changed files with 4 additions and 4 deletions

View file

@ -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

@ -1 +1 @@
Subproject commit 0c1fa696aa502eb749c2c4735005f41ba00a27b8 Subproject commit 55077af4b50e13c5b7c02131ff16695685478fc8

View file

@ -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)