Switch to static linking for Android (#472)
parent
bde0a4ec98
commit
8800803123
|
@ -3,7 +3,7 @@
|
||||||
set(CMAKE_SYSTEM_NAME Android)
|
set(CMAKE_SYSTEM_NAME Android)
|
||||||
set(CMAKE_ANDROID_ARCH_ABI armeabi-v7a)
|
set(CMAKE_ANDROID_ARCH_ABI armeabi-v7a)
|
||||||
set(CMAKE_ANDROID_NDK "$ENV{ANDROID_NDK}")
|
set(CMAKE_ANDROID_NDK "$ENV{ANDROID_NDK}")
|
||||||
set(CMAKE_ANDROID_STL_TYPE c++_shared)
|
set(CMAKE_ANDROID_STL_TYPE c++_static)
|
||||||
set(CMAKE_SYSTEM_VERSION "$ENV{ANDROID_VERSION}")
|
set(CMAKE_SYSTEM_VERSION "$ENV{ANDROID_VERSION}")
|
||||||
set(CMAKE_ANDROID_NDK_TOOLCHAIN_VERSION clang)
|
set(CMAKE_ANDROID_NDK_TOOLCHAIN_VERSION clang)
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
set(CMAKE_SYSTEM_NAME Android)
|
set(CMAKE_SYSTEM_NAME Android)
|
||||||
set(CMAKE_ANDROID_ARCH_ABI arm64-v8a)
|
set(CMAKE_ANDROID_ARCH_ABI arm64-v8a)
|
||||||
set(CMAKE_ANDROID_NDK "$ENV{ANDROID_NDK}")
|
set(CMAKE_ANDROID_NDK "$ENV{ANDROID_NDK}")
|
||||||
set(CMAKE_ANDROID_STL_TYPE c++_shared)
|
set(CMAKE_ANDROID_STL_TYPE c++_static)
|
||||||
set(CMAKE_SYSTEM_VERSION "$ENV{ANDROID_VERSION}")
|
set(CMAKE_SYSTEM_VERSION "$ENV{ANDROID_VERSION}")
|
||||||
set(CMAKE_ANDROID_NDK_TOOLCHAIN_VERSION clang)
|
set(CMAKE_ANDROID_NDK_TOOLCHAIN_VERSION clang)
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
set(CMAKE_SYSTEM_NAME Android)
|
set(CMAKE_SYSTEM_NAME Android)
|
||||||
set(CMAKE_ANDROID_ARCH_ABI x86)
|
set(CMAKE_ANDROID_ARCH_ABI x86)
|
||||||
set(CMAKE_ANDROID_NDK "$ENV{ANDROID_NDK}")
|
set(CMAKE_ANDROID_NDK "$ENV{ANDROID_NDK}")
|
||||||
set(CMAKE_ANDROID_STL_TYPE c++_shared)
|
set(CMAKE_ANDROID_STL_TYPE c++_static)
|
||||||
set(CMAKE_SYSTEM_VERSION "$ENV{ANDROID_VERSION}")
|
set(CMAKE_SYSTEM_VERSION "$ENV{ANDROID_VERSION}")
|
||||||
set(CMAKE_ANDROID_NDK_TOOLCHAIN_VERSION clang)
|
set(CMAKE_ANDROID_NDK_TOOLCHAIN_VERSION clang)
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
set(CMAKE_SYSTEM_NAME Android)
|
set(CMAKE_SYSTEM_NAME Android)
|
||||||
set(CMAKE_ANDROID_ARCH_ABI x86_64)
|
set(CMAKE_ANDROID_ARCH_ABI x86_64)
|
||||||
set(CMAKE_ANDROID_NDK "$ENV{ANDROID_NDK}")
|
set(CMAKE_ANDROID_NDK "$ENV{ANDROID_NDK}")
|
||||||
set(CMAKE_ANDROID_STL_TYPE c++_shared)
|
set(CMAKE_ANDROID_STL_TYPE c++_static)
|
||||||
set(CMAKE_SYSTEM_VERSION "$ENV{ANDROID_VERSION}")
|
set(CMAKE_SYSTEM_VERSION "$ENV{ANDROID_VERSION}")
|
||||||
set(CMAKE_ANDROID_NDK_TOOLCHAIN_VERSION clang)
|
set(CMAKE_ANDROID_NDK_TOOLCHAIN_VERSION clang)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue