We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
2 parentsf17d305 +81a5702 commit111438dCopy full SHA for 111438d
libs/network/src/CMakeLists.txt
@@ -46,7 +46,10 @@ target_link_libraries(cppnetlib-client-connections ${Boost_LIBRARIES} ${CMAKE_TH
46
if (OPENSSL_FOUND)
47
target_link_libraries(cppnetlib-client-connections${OPENSSL_LIBRARIES})
48
if (CPP-NETLIB_STATIC_OPENSSL)
49
- if (NOTMSVCANDNOT MINGWANDNOT${CMAKE_SYSTEM_NAME}MATCHES"FreeBSD")# dynlinker functions are built into libc on FreeBSD
+ if (${CMAKE_SYSTEM_NAME}MATCHES"FreeBSD"OR${CMAKE_SYSTEM_NAME}MATCHES"OpenBSD")
50
+ set(BSDON)
51
+ endif()
52
+ if (NOTMSVCANDNOT MINGWANDNOT BSD)# dynlinker functions are built into libc on BSD
53
target_link_libraries(cppnetlib-client-connections"-ldl")
54
endif()
55