zdoom-macos-deps/deps/cmake/share/cmake-3.25/Modules/Platform/Android-Clang-CXX.cmake

10 lines
322 B
CMake
Raw Normal View History

2021-07-25 09:55:31 +00:00
include(Platform/Android-Clang)
__android_compiler_clang(CXX)
if(_ANDROID_STL_NOSTDLIBXX)
if(CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL 6)
string(APPEND CMAKE_CXX_STANDARD_LIBRARIES " -nostdlib++")
else()
string(APPEND CMAKE_CXX_STANDARD_LIBRARIES " -nodefaultlibs -lgcc -lc -lm -ldl")
endif()
endif()