Skip to content
This repository has been archived by the owner on Apr 15, 2020. It is now read-only.

Commit

Permalink
Use ANDROID_SSL_ARCH instead of CMAKE_ANDROID_ARCH
Browse files Browse the repository at this point in the history
  • Loading branch information
xsacha authored Jun 5, 2017
1 parent 1f02cf8 commit 764d646
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/projects/OpenSSL/schemes/url_sha1_openssl.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ if(ANDROID)
# * https://github.com/openssl/openssl/pull/2229
# The ./config script only detects Android x86 and armv7 targets anyway.
# * https://github.com/openssl/openssl/issues/2490
if (CMAKE_ANDROID_ARCH MATCHES "mips64|arm64|x86_64")
if (ANDROID_SSL_ARCH MATCHES "mips64|arm64|x86_64")
set(configure_opts "linux-generic64")
else()
set(configure_opts "linux-generic32")
Expand Down

0 comments on commit 764d646

Please sign in to comment.