diff --git a/winpr/tools/makecert/CMakeLists.txt b/winpr/tools/makecert/CMakeLists.txt index 89f7af95c..a41cccd3e 100644 --- a/winpr/tools/makecert/CMakeLists.txt +++ b/winpr/tools/makecert/CMakeLists.txt @@ -37,7 +37,7 @@ if(OPENSSL_FOUND) else() # if ${OPENSSL_LIBRARIES} libssl and libcrypto is linked # therefor explicitly link against libcrypto - list(APPEND ${MODULE_PREFIX}_LIBS crypto) + list(APPEND ${MODULE_PREFIX}_LIBS ${OPENSSL_CRYPTO_LIBRARIES}) endif() endif()