diff options
Diffstat (limited to 'share/cmake-3.16/Modules/Platform/Android/ndk-stl-c++_static.cmake')
-rw-r--r-- | share/cmake-3.16/Modules/Platform/Android/ndk-stl-c++_static.cmake | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/share/cmake-3.16/Modules/Platform/Android/ndk-stl-c++_static.cmake b/share/cmake-3.16/Modules/Platform/Android/ndk-stl-c++_static.cmake new file mode 100644 index 0000000..061a5c2 --- /dev/null +++ b/share/cmake-3.16/Modules/Platform/Android/ndk-stl-c++_static.cmake @@ -0,0 +1,8 @@ +include(Platform/Android/ndk-stl-c++) +macro(__android_stl lang) + __android_stl_cxx(${lang} libc++_static.a) + __android_stl_lib(${lang} "${CMAKE_ANDROID_NDK}/sources/cxx-stl/llvm-libc++/libs/${CMAKE_ANDROID_ARCH_ABI}/libc++abi.a" 0) + __android_stl_lib(${lang} "${CMAKE_ANDROID_NDK}/sources/cxx-stl/llvm-libc++/libs/${CMAKE_ANDROID_ARCH_ABI}/libandroid_support.a" 0) + __android_stl_lib(${lang} "${CMAKE_ANDROID_NDK}/sources/cxx-stl/llvm-libc++/libs/${CMAKE_ANDROID_ARCH_ABI}/libunwind.a" 0) + string(APPEND CMAKE_${lang}_STANDARD_LIBRARIES " -latomic") # provided by toolchain +endmacro() |