From ba69b8555ba91486e8b5322b36fda6f2ecec11fd Mon Sep 17 00:00:00 2001 From: BenDroid Date: Sat, 3 Mar 2018 21:06:24 +0100 Subject: [PATCH] Cleanup --- CMakeLists.txt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 61a21ae9..927f9bfd 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -90,7 +90,7 @@ else() src/Platform_unix.cpp ) - set(EXTRA_LIBS pthread rt) + set(EXTRA_LIBS pthread rt dl) endif() if (CMAKE_SYSTEM_NAME STREQUAL FreeBSD) @@ -120,8 +120,6 @@ if (WITH_TLS) add_definitions(/DCPPHTTPLIB_OPENSSL_SUPPORT) - set(EXTRA_LIBS ${EXTRA_LIBS} dl) - if (OPENSSL_FOUND) include_directories(${OPENSSL_INCLUDE_DIR}) set(SOURCES_SSL_TLS src/3rdparty/clib-net/src/tls.c)