x86_64-android-ndk-libcpp.cmake 456 B

12345678910111213
  1. if (NOT DRACO_CMAKE_TOOLCHAINS_X86_64_ANDROID_NDK_LIBCPP_CMAKE_)
  2. set(DRACO_CMAKE_TOOLCHAINS_X86_64_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 x86_64)
  6. require_variable(CMAKE_ANDROID_NDK)
  7. set_variable_if_unset(CMAKE_SYSTEM_VERSION 21)
  8. set_variable_if_unset(CMAKE_ANDROID_STL_TYPE c++_static)
  9. endif () # DRACO_CMAKE_TOOLCHAINS_X86_64_ANDROID_NDK_LIBCPP_CMAKE_