diff --git a/CMakeLists.txt b/CMakeLists.txt index 0a70bb1..7dd74f5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -283,11 +283,10 @@ if(WITH_BORINGSSL) list(APPEND DYNAMIC_LIB ${BORINGSSL_SSL_LIBRARY}) list(APPEND DYNAMIC_LIB ${BORINGSSL_CRYPTO_LIBRARY}) else() - list(APPEND DYNAMIC_LIB ${OPENSSL_CRYPTO_LIBRARY}) if(WITH_MESALINK) list(APPEND DYNAMIC_LIB ${MESALINK_LIB}) else() - list(APPEND DYNAMIC_LIB ${OPENSSL_SSL_LIBRARY}) + list(APPEND DYNAMIC_LIB ${OPENSSL_SSL_LIBRARY} ${OPENSSL_CRYPTO_LIBRARY}) endif() endif()