From 7be20413ac8cdd099055ae4eef80647ead092838 Mon Sep 17 00:00:00 2001 From: Arthur LAURENT Date: Sun, 11 May 2025 17:54:23 +0200 Subject: (C++ modules support) handle default c++ library for clang on ios and tvos --- xmake/rules/c++/modules/clang/support.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xmake/rules/c++/modules/clang/support.lua b/xmake/rules/c++/modules/clang/support.lua index 61a9724e5..e351bc615 100644 --- a/xmake/rules/c++/modules/clang/support.lua +++ b/xmake/rules/c++/modules/clang/support.lua @@ -71,7 +71,7 @@ function _get_cpplibrary_name(target) elseif target:has_runtime("MD", "MT", "MDd", "MTd") then return "msstl" end - if target:is_plat("macosx") then + if target:is_plat("macosx") or target:is_plat("ios") or target:is_plat("tvos") then return "c++" elseif target:is_plat("linux") then return "stdc++" -- cgit v1.3.1