代码拉取完成,页面将自动刷新
if (CMAKE_BUILD_TYPE EQUAL "DEBUG")
set (SSL_ROOT_PATH ${CMAKE_CURRENT_LIST_DIR}/no-asm)
else()
set (SSL_ROOT_PATH ${CMAKE_CURRENT_LIST_DIR})
endif()
if (QT_VERSION LESS 5.12.3)
message(QT_VERSION)
if (ANDROID_TARGET_ARCH STREQUAL "armeabi-v7a")
set(ANDROID_EXTRA_LIBS
${SSL_ROOT_PATH}/Qt-5.12.3/arm/libcrypto.so
${SSL_ROOT_PATH}/Qt-5.12.3/arm/libssl.so
CACHE INTERNAL "")
endif()
if (ANDROID_TARGET_ARCH STREQUAL "arm64-v8a")
set(ANDROID_EXTRA_LIBS
${SSL_ROOT_PATH}/Qt-5.12.3/arm64/libcrypto.so
${SSL_ROOT_PATH}/Qt-5.12.3/arm64/libssl.so
CACHE INTERNAL "")
endif()
if (ANDROID_TARGET_ARCH STREQUAL "x86")
set(ANDROID_EXTRA_LIBS
${SSL_ROOT_PATH}/Qt-5.12.3/x86/libcrypto.so
${SSL_ROOT_PATH}/Qt-5.12.3/x86/libssl.so
CACHE INTERNAL "")
endif()
else()
if (QT_VERSION EQUAL 5.12.4 OR QT_VERSION EQUAL 5.13.0)
if (ANDROID_TARGET_ARCH STREQUAL "armeabi-v7a")
set(ANDROID_EXTRA_LIBS
${SSL_ROOT_PATH}/Qt-5.12.4_5.13.0/arm/libcrypto.so
${SSL_ROOT_PATH}/Qt-5.12.4_5.13.0/arm/libssl.so
CACHE INTERNAL "")
endif()
if (ANDROID_TARGET_ARCH STREQUAL "arm64-v8a")
set(ANDROID_EXTRA_LIBS
${SSL_ROOT_PATH}/Qt-5.12.4_5.13.0/arm64/libcrypto.so
${SSL_ROOT_PATH}/Qt-5.12.4_5.13.0/arm64/libssl.so
CACHE INTERNAL "")
endif()
if (ANDROID_TARGET_ARCH STREQUAL "x86")
set(ANDROID_EXTRA_LIBS
${SSL_ROOT_PATH}/Qt-5.12.4_5.13.0/x86/libcrypto.so
${SSL_ROOT_PATH}/Qt-5.12.4_5.13.0/x86/libssl.so
CACHE INTERNAL "")
endif()
if (ANDROID_TARGET_ARCH STREQUAL "x86_64")
set(ANDROID_EXTRA_LIBS
${SSL_ROOT_PATH}/Qt-5.12.4_5.13.0/x86_64/libcrypto.so
${SSL_ROOT_PATH}/Qt-5.12.4_5.13.0/x86_64/libssl.so
CACHE INTERNAL "")
endif()
else()
if (NOT (QT_VERSION LESS 5.14.0))
message(${SSL_ROOT_PATH})
set(ANDROID_EXTRA_LIBS
${SSL_ROOT_PATH}/latest/arm/libcrypto_1_1.so
${SSL_ROOT_PATH}/latest/arm/libssl_1_1.so
${SSL_ROOT_PATH}/latest/arm64/libcrypto_1_1.so
${SSL_ROOT_PATH}/latest/arm64/libssl_1_1.so
${SSL_ROOT_PATH}/latest/x86/libcrypto_1_1.so
${SSL_ROOT_PATH}/latest/x86/libssl_1_1.so
${SSL_ROOT_PATH}/latest/x86_64/libcrypto_1_1.so
${SSL_ROOT_PATH}/latest/x86_64/libssl_1_1.so
CACHE INTERNAL "")
else()
if (ANDROID_TARGET_ARCH STREQUAL "armeabi-v7a")
set(ANDROID_EXTRA_LIBS
${SSL_ROOT_PATH}/latest/arm/libcrypto_1_1.so
${SSL_ROOT_PATH}/latest/arm/libssl_1_1.so
CACHE INTERNAL "")
endif()
if (ANDROID_TARGET_ARCH STREQUAL "arm64-v8a")
set(ANDROID_EXTRA_LIBS
${SSL_ROOT_PATH}/latest/arm64/libcrypto_1_1.so
${SSL_ROOT_PATH}/latest/arm64/libssl_1_1.so
CACHE INTERNAL "")
endif()
if (ANDROID_TARGET_ARCH STREQUAL "x86")
set(ANDROID_EXTRA_LIBS
${SSL_ROOT_PATH}/latest/x86/libcrypto_1_1.so
${SSL_ROOT_PATH}/latest/x86/libssl_1_1.so
CACHE INTERNAL "")
endif()
if (ANDROID_TARGET_ARCH STREQUAL "x86_64")
set(ANDROID_EXTRA_LIBS
${SSL_ROOT_PATH}/latest/x86_64/libcrypto_1_1.so
${SSL_ROOT_PATH}/latest/x86_64/libssl_1_1.so
CACHE INTERNAL "")
endif()
endif()
endif()
endif()
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。