Android-Clang-CXX.cmake 322 B

123456789
  1. include(Platform/Android-Clang)
  2. __android_compiler_clang(CXX)
  3. if(_ANDROID_STL_NOSTDLIBXX)
  4. if(CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL 6)
  5. string(APPEND CMAKE_CXX_STANDARD_LIBRARIES " -nostdlib++")
  6. else()
  7. string(APPEND CMAKE_CXX_STANDARD_LIBRARIES " -nodefaultlibs -lgcc -lc -lm -ldl")
  8. endif()
  9. endif()