Skip to content

Commit 666b232

Browse files
Debug: Android build
Experiment with build changing cmake options Relates-To: MINOR
1 parent 068929d commit 666b232

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

external/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ set(OLP_SDK_CPP_ZLIB_URL "https://www.zlib.net/zlib-1.3.1.tar.gz")
6161
set(OLP_SDK_CPP_ZLIB_HASH "SHA256=9a93b2b7dfdac77ceba5a558a580e74667dd6fede4585b91eefb60f03b72df23")
6262

6363
set(OLP_SDK_CPP_OPENSSL_URL "https://github.com/openssl/openssl.git")
64-
set(OLP_SDK_CPP_OPENSSL_TAG "OpenSSL_1_1_1w")
64+
set(OLP_SDK_CPP_OPENSSL_TAG "openssl-3.1.4")
6565

6666
set(OLP_SDK_CPP_CURL_URL "https://github.com/bagder/curl.git")
6767
set(OLP_SDK_CPP_CURL_TAG "curl-7_52_1")

scripts/android/build.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ cmake .. -DCMAKE_TOOLCHAIN_FILE="$ANDROID_HOME/ndk/21.3.6528147/build/cmake/andr
4242
-DANDROID_ABI=arm64-v8a \
4343
-DANDROID_NDK="$ANDROID_HOME/ndk/21.3.6528147" \
4444
-DOLP_SDK_ENABLE_TESTING=NO \
45+
-DOLP_SDK_ENABLE_ANDROID_CURL=ON \
4546
-DOLP_SDK_BUILD_EXAMPLES=ON
4647

4748
#cmake --build . # this is alternative option for build

0 commit comments

Comments
 (0)