winpr/makecert: fix linking against libcrypto
Use OPENSSL_CRYPTO_LIBRARIES instead of linking against crypto directly.
This commit is contained in:
parent
6309459839
commit
3626676ac6
@ -37,7 +37,7 @@ if(OPENSSL_FOUND)
|
|||||||
else()
|
else()
|
||||||
# if ${OPENSSL_LIBRARIES} libssl and libcrypto is linked
|
# if ${OPENSSL_LIBRARIES} libssl and libcrypto is linked
|
||||||
# therefor explicitly link against libcrypto
|
# therefor explicitly link against libcrypto
|
||||||
list(APPEND ${MODULE_PREFIX}_LIBS crypto)
|
list(APPEND ${MODULE_PREFIX}_LIBS ${OPENSSL_CRYPTO_LIBRARIES})
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user