winpr/makecert: fix linking against libcrypto

Use OPENSSL_CRYPTO_LIBRARIES instead of linking against crypto directly.
This commit is contained in:
Bernhard Miklautz 2017-09-23 13:57:57 +02:00
parent 6309459839
commit 3626676ac6

View File

@ -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()