mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-21 18:57:50 +08:00
11 lines
419 B
CMake
11 lines
419 B
CMake
|
_find_package(${ARGS})
|
||
|
if(OPENSSL_FOUND)
|
||
|
list(APPEND OPENSSL_LIBRARIES Crypt32.lib ws2_32.lib)
|
||
|
if(TARGET OpenSSL::Crypto)
|
||
|
set_property(TARGET OpenSSL::Crypto APPEND PROPERTY INTERFACE_LINK_LIBRARIES "Crypt32.lib;ws2_32.lib")
|
||
|
endif()
|
||
|
if(TARGET OpenSSL::SSL)
|
||
|
set_property(TARGET OpenSSL::SSL APPEND PROPERTY INTERFACE_LINK_LIBRARIES "Crypt32.lib;ws2_32.lib")
|
||
|
endif()
|
||
|
endif()
|