diff options
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 50a152a..8b091e3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -185,8 +185,7 @@ foreach (lib ${SOCKET_LIBRARIES}) endforeach(lib) set(libs_private "${libs_private} -l${LIBRT}") if (ENABLE_SSL_SUPPORT) - set(requires_private "openssl") - set(libs_private "${libs_private} ${CMAKE_THREAD_LIBS_INIT}") + set(libs_private "${libs_private} -lssl -lcrypto ${CMAKE_THREAD_LIBS_INIT}") endif() set(prefix ${CMAKE_INSTALL_PREFIX}) |