mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-05 21:31:08 -06:00
The chosen STL libraries are already linked explicitly so we shouldn't let the compiler add its implicit `-lstdc++` (the default) when invoking the linker. Fixes: #17863 NDK-Issue: https://github.com/android-ndk/ndk/issues/105 Inspired-by: Tom Hughes <tomtheengineer@gmail.com>
4 lines
68 B
CMake
4 lines
68 B
CMake
set(_ANDROID_STL_NOSTDLIBXX 1)
|
|
macro(__android_stl lang)
|
|
endmacro()
|