From 38b00f88014a0866e2aa650550977b4bc676b355 Mon Sep 17 00:00:00 2001 From: Ryan Prichard Date: Fri, 10 Dec 2021 21:23:17 -0800 Subject: 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 --- Modules/Platform/Android-Common.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/Platform/Android-Common.cmake b/Modules/Platform/Android-Common.cmake index 39da933..f1deaca 100644 --- a/Modules/Platform/Android-Common.cmake +++ b/Modules/Platform/Android-Common.cmake @@ -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() -- cgit v0.12