mirror of
https://github.com/izzy2lost/android_openssl.git
synced 2026-06-19 01:20:12 -07:00
Update CMakeLists.txt
This commit is contained in:
committed by
BogDan Vatra
parent
2d9c5adb3d
commit
4843961773
@@ -105,11 +105,6 @@ endif()
|
||||
# With the recent update and the introduction of the QT_ANDROID_EXTRA_LIBS variable, this modification is necessary to copy the openssl files to the required path in Qt6.
|
||||
# https://doc.qt.io/qt-6/cmake-target-property-qt-android-extra-libs.html
|
||||
if(QT_VERSION GREATER 6.0.0)
|
||||
set_property(TARGET ${PROJECT_NAME} PROPERTY QT_ANDROID_EXTRA_LIBS
|
||||
${SSL_ROOT_PATH}/latest/arm64/libcrypto_1_1.so
|
||||
${SSL_ROOT_PATH}/latest/arm64/libssl_1_1.so
|
||||
)
|
||||
|
||||
if (ANDROID_TARGET_ARCH STREQUAL "armeabi-v7a")
|
||||
set_property(TARGET ${PROJECT_NAME} PROPERTY QT_ANDROID_EXTRA_LIBS
|
||||
${SSL_ROOT_PATH}/latest/arm/libcrypto_1_1.so
|
||||
|
||||
Reference in New Issue
Block a user