add more cmake incantations for windows cross compile

pull/1307/head
Jeff Becker 4 years ago
parent fdfdd2a1d2
commit c66e925fb2
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05

@ -156,6 +156,10 @@ build_external(openssl
)
add_static_target(OpenSSL::SSL openssl_external libssl.a)
add_static_target(OpenSSL::Crypto openssl_external libcrypto.a)
if(WIN32)
set_target_properties(OpenSSL::Crypto INTERFACE "ws2_32;crypt32;iphlpapi")
endif()
set(OPENSSL_INCLUDE_DIR ${DEPS_DESTDIR}/include)
set(OPENSSL_VERSION 1.1.1)

Loading…
Cancel
Save