mirror of
https://github.com/ZDoom/zdoom-macos-deps.git
synced 2024-12-12 13:22:01 +00:00
9 lines
322 B
CMake
9 lines
322 B
CMake
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()
|