mirror of https://github.com/qt/qtdoc.git
OSM buildings: correctly download and add OpenSSL libraries
Pick-to: 6.7 6.7.0 6.6 6.6.3 Fixes: QTBUG-123164 Change-Id: I5d2bb2838ee40feea6d9a911072275f4bd6cbdfb Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
This commit is contained in:
parent
5a62cbe268
commit
e02f78b397
|
@ -19,7 +19,15 @@ qt_add_executable(osmbuildings
|
|||
)
|
||||
|
||||
if (ANDROID)
|
||||
add_android_openssl_libraries(osmbuildings)
|
||||
include(FetchContent)
|
||||
FetchContent_Declare(
|
||||
android_openssl
|
||||
DOWNLOAD_EXTRACT_TIMESTAMP true
|
||||
URL https://github.com/KDAB/android_openssl/archive/refs/heads/master.zip
|
||||
)
|
||||
FetchContent_MakeAvailable(android_openssl)
|
||||
include(${android_openssl_SOURCE_DIR}/android_openssl.cmake)
|
||||
add_android_openssl_libraries(LightningViewerExample)
|
||||
endif()
|
||||
|
||||
set_target_properties(osmbuildings PROPERTIES
|
||||
|
|
Loading…
Reference in New Issue