mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-01-26 19:09:06 +00:00
Android: Fix linking android_support for pre-21 system STL
This typo was introduced in commit 4dca078829 (Android: Link c++abi and android_support when necessary, 2020-10-29, v3.20.0-rc1~541^2). Fixes: #23004
This commit is contained in:
parent
6752fb2889
commit
38b00f8801
@ -56,7 +56,7 @@ if(CMAKE_ANDROID_STL_TYPE)
|
||||
if(_ANDROID_STL_EXCEPTIONS OR _ANDROID_STL_RTTI)
|
||||
string(APPEND CMAKE_${lang}_STANDARD_LIBRARIES " -lc++abi")
|
||||
if(CMAKE_SYSTEM_VERSION LESS 21)
|
||||
list(APPEND CMAKE_${lang}_STANDARD_LIBRARIES "-landroid_support")
|
||||
string(APPEND CMAKE_${lang}_STANDARD_LIBRARIES " -landroid_support")
|
||||
endif()
|
||||
endif()
|
||||
endmacro()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user