|
|
@ -6,9 +6,11 @@ macro(__android_stl_cxx lang filename) |
|
|
|
if(EXISTS "${CMAKE_ANDROID_NDK}/sources/cxx-stl/llvm-libc++/libcxx/include/cstddef") |
|
|
|
# r12 and below |
|
|
|
__android_stl_inc(${lang} "${CMAKE_ANDROID_NDK}/sources/cxx-stl/llvm-libc++/libcxx/include" 1) |
|
|
|
__android_stl_inc(${lang} "${CMAKE_ANDROID_NDK}/sources/cxx-stl/llvm-libc++abi/libcxxabi/include" 1) |
|
|
|
else() |
|
|
|
# r13 and above |
|
|
|
__android_stl_inc(${lang} "${CMAKE_ANDROID_NDK}/sources/cxx-stl/llvm-libc++/include" 1) |
|
|
|
__android_stl_inc(${lang} "${CMAKE_ANDROID_NDK}/sources/cxx-stl/llvm-libc++abi/include" 1) |
|
|
|
endif() |
|
|
|
|
|
|
|
# Add a secondary include directory if it exists. |
|
|
|