Skip to content

Commit

Permalink
Merge pull request #203 from martingreg/add-arm64-to-TVOSCOMBINED-sims
Browse files Browse the repository at this point in the history
feature: Add arm64 to tv simulators for TVOSCOMBINED platform. Thanks to @martingreg for adding this support!
  • Loading branch information
leetal committed May 27, 2024
2 parents e8bbf7f + 5798589 commit a52c591
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ios.toolchain.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -415,9 +415,9 @@ elseif (PLATFORM_INT STREQUAL "TVOSCOMBINED")
set(ARCHS arm64 x86_64)
set(APPLE_TARGET_TRIPLE_INT arm64-x86_64-apple-tvos${DEPLOYMENT_TARGET})
set(CMAKE_XCODE_ATTRIBUTE_ARCHS[sdk=appletvos*] "arm64")
set(CMAKE_XCODE_ATTRIBUTE_ARCHS[sdk=appletvsimulator*] "x86_64")
set(CMAKE_XCODE_ATTRIBUTE_ARCHS[sdk=appletvsimulator*] "x86_64 arm64")
set(CMAKE_XCODE_ATTRIBUTE_VALID_ARCHS[sdk=appletvos*] "arm64")
set(CMAKE_XCODE_ATTRIBUTE_VALID_ARCHS[sdk=appletvsimulator*] "x86_64")
set(CMAKE_XCODE_ATTRIBUTE_VALID_ARCHS[sdk=appletvsimulator*] "x86_64 arm64")
else()
set(APPLE_TARGET_TRIPLE_INT ${ARCHS_SPLIT}-apple-tvos${DEPLOYMENT_TARGET})
endif()
Expand Down

0 comments on commit a52c591

Please sign in to comment.