armv7-android-ndk-libcpp.cmake 458 B

12345678910111213
  1. if (NOT DRACO_CMAKE_TOOLCHAINS_ARMV7_ANDROID_NDK_LIBCPP_CMAKE_)
  2. set(DRACO_CMAKE_TOOLCHAINS_ARMV7_ANDROID_NDK_LIBCPP_CMAKE_ 1)
  3. include("${CMAKE_CURRENT_LIST_DIR}/../util.cmake")
  4. set(CMAKE_SYSTEM_NAME Android)
  5. set(CMAKE_ANDROID_ARCH_ABI armeabi-v7a)
  6. require_variable(CMAKE_ANDROID_NDK)
  7. set_variable_if_unset(CMAKE_SYSTEM_VERSION 18)
  8. set_variable_if_unset(CMAKE_ANDROID_STL_TYPE c++_static)
  9. endif () # DRACO_CMAKE_TOOLCHAINS_ARMV7_ANDROID_NDK_LIBCPP_CMAKE_