1
0
鏡像自 https://github.com/henrydcase/optee_eng.git synced 2024-11-22 07:15:32 +00:00
optee_eng/3rd/openssl-cmake/libdefs.cmake

17 行
699 B
CMake

set(OPENSSL_LIB_CRYPTO
${OPENSSL_BUILD_INSTALL_ROOT}${OPENSSL_PREFIX_OPENSSLDIR}/lib/libcrypto${CMAKE_SHARED_LIBRARY_SUFFIX})
set(OPENSSL_LIB_SSL
${OPENSSL_BUILD_INSTALL_ROOT}${OPENSSL_PREFIX_OPENSSLDIR}/lib/libssl${CMAKE_SHARED_LIBRARY_SUFFIX})
add_library(
OpenSSL_crypto_shared SHARED IMPORTED GLOBAL)
add_library(
OpenSSL_ssl_shared SHARED IMPORTED GLOBAL)
set_target_properties(
OpenSSL_crypto_shared PROPERTIES IMPORTED_LOCATION ${OPENSSL_LIB_CRYPTO})
set_target_properties(
OpenSSL_ssl_shared PROPERTIES IMPORTED_LOCATION ${OPENSSL_LIB_SSL})
set_property(GLOBAL PROPERTY openssl_build_install_dir_property ${OPENSSL_BUILD_INSTALL_ROOT}${OPENSSL_PREFIX_OPENSSLDIR})