mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-05 08:39:01 +08:00
11 lines
334 B
CMake
11 lines
334 B
CMake
_find_package(${ARGS})
|
|
if(OPENSSL_FOUND)
|
|
find_library(OPENSSL_DL_LIBRARY NAMES dl)
|
|
if(OPENSSL_DL_LIBRARY)
|
|
list(APPEND OPENSSL_LIBRARIES "dl")
|
|
if(TARGET OpenSSL::Crypto)
|
|
set_property(TARGET OpenSSL::Crypto APPEND PROPERTY INTERFACE_LINK_LIBRARIES "dl")
|
|
endif()
|
|
endif()
|
|
endif()
|