summaryrefslogtreecommitdiff
path: root/src/mesh/assimp-master/contrib/draco/cmake/toolchains/armv7-android-ndk-libcpp.cmake
diff options
context:
space:
mode:
authorsanine <sanine.not@pm.me>2022-03-04 10:47:15 -0600
committersanine <sanine.not@pm.me>2022-03-04 10:47:15 -0600
commit058f98a63658dc1a2579826ba167fd61bed1e21f (patch)
treebcba07a1615a14d943f3af3f815a42f3be86b2f3 /src/mesh/assimp-master/contrib/draco/cmake/toolchains/armv7-android-ndk-libcpp.cmake
parent2f8028ac9e0812cb6f3cbb08f0f419e4e717bd22 (diff)
add assimp submodule
Diffstat (limited to 'src/mesh/assimp-master/contrib/draco/cmake/toolchains/armv7-android-ndk-libcpp.cmake')
-rw-r--r--src/mesh/assimp-master/contrib/draco/cmake/toolchains/armv7-android-ndk-libcpp.cmake16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/mesh/assimp-master/contrib/draco/cmake/toolchains/armv7-android-ndk-libcpp.cmake b/src/mesh/assimp-master/contrib/draco/cmake/toolchains/armv7-android-ndk-libcpp.cmake
new file mode 100644
index 0000000..80ee98b
--- /dev/null
+++ b/src/mesh/assimp-master/contrib/draco/cmake/toolchains/armv7-android-ndk-libcpp.cmake
@@ -0,0 +1,16 @@
+if(DRACO_CMAKE_TOOLCHAINS_ARMV7_ANDROID_NDK_LIBCPP_CMAKE_)
+ return()
+endif()
+set(DRACO_CMAKE_TOOLCHAINS_ARMV7_ANDROID_NDK_LIBCPP_CMAKE_ 1)
+
+include("${CMAKE_CURRENT_LIST_DIR}/android-ndk-common.cmake")
+
+if(NOT ANDROID_PLATFORM)
+ set(ANDROID_PLATFORM android-18)
+endif()
+
+if(NOT ANDROID_ABI)
+ set(ANDROID_ABI armeabi-v7a)
+endif()
+
+include("${DRACO_ANDROID_NDK_PATH}/build/cmake/android.toolchain.cmake")