diff options
| -rw-r--r-- | xmake/rules/xcode/metal/xmake.lua | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/xmake/rules/xcode/metal/xmake.lua b/xmake/rules/xcode/metal/xmake.lua index 7279e26a6..965310c98 100644 --- a/xmake/rules/xcode/metal/xmake.lua +++ b/xmake/rules/xcode/metal/xmake.lua @@ -73,6 +73,12 @@ rule("xcode.metal") airtarget = airtarget .. "-simulator" end table.insert(argv, airtarget) + elseif target:is_plat("appletvos") then + local airtarget = airarch .. "-apple-tvos" .. target_minver + if target:is_arch("x86_64", "i386") then + airtarget = airtarget .. "-simulator" + end + table.insert(argv, airtarget) end end if xcode_sysroot then |
