summaryrefslogtreecommitdiffstats
path: root/Modules/Platform
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2021-12-14 14:40:02 (GMT)
committerKitware Robot <kwrobot@kitware.com>2021-12-14 14:40:17 (GMT)
commit7f6cce63fc81cddea56da5f622d429d712554d2d (patch)
tree0d009ce1ef0541ca477fcff6632efef4eee933b4 /Modules/Platform
parent25a300b76e88903dfa44939dd3a564b5377b4640 (diff)
parent38b00f88014a0866e2aa650550977b4bc676b355 (diff)
downloadCMake-7f6cce63fc81cddea56da5f622d429d712554d2d.zip
CMake-7f6cce63fc81cddea56da5f622d429d712554d2d.tar.gz
CMake-7f6cce63fc81cddea56da5f622d429d712554d2d.tar.bz2
Merge topic 'android-system-stl'
38b00f8801 Android: Fix linking android_support for pre-21 system STL Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6799
Diffstat (limited to 'Modules/Platform')
-rw-r--r--Modules/Platform/Android-Common.cmake2
1 files changed, 1 insertions, 1 deletions
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()