Closed blapie closed 2 months ago
Recent versions of cmake stopped linking with -ldl implicitly, which may still be required when linking statically with openssl. However this can still be done using find_package(OpenSSL) by setting OPENSSL_USE_STATIC_LIBS to TRUE.
-ldl
find_package(OpenSSL)
OPENSSL_USE_STATIC_LIBS
Recent versions of cmake stopped linking with
-ldl
implicitly, which may still be required when linking statically with openssl. However this can still be done usingfind_package(OpenSSL)
by settingOPENSSL_USE_STATIC_LIBS
to TRUE.