You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

libdefs.cmake 699 B

12345678910111213141516
  1. set(OPENSSL_LIB_CRYPTO
  2. ${OPENSSL_BUILD_INSTALL_ROOT}${OPENSSL_PREFIX_OPENSSLDIR}/lib/libcrypto${CMAKE_SHARED_LIBRARY_SUFFIX})
  3. set(OPENSSL_LIB_SSL
  4. ${OPENSSL_BUILD_INSTALL_ROOT}${OPENSSL_PREFIX_OPENSSLDIR}/lib/libssl${CMAKE_SHARED_LIBRARY_SUFFIX})
  5. add_library(
  6. OpenSSL_crypto_shared SHARED IMPORTED GLOBAL)
  7. add_library(
  8. OpenSSL_ssl_shared SHARED IMPORTED GLOBAL)
  9. set_target_properties(
  10. OpenSSL_crypto_shared PROPERTIES IMPORTED_LOCATION ${OPENSSL_LIB_CRYPTO})
  11. set_target_properties(
  12. OpenSSL_ssl_shared PROPERTIES IMPORTED_LOCATION ${OPENSSL_LIB_SSL})
  13. set_property(GLOBAL PROPERTY openssl_build_install_dir_property ${OPENSSL_BUILD_INSTALL_ROOT}${OPENSSL_PREFIX_OPENSSLDIR})