Skip to content

Commit

Permalink
Merge pull request #18364 from warmenhoven/pr/tvos
Browse files Browse the repository at this point in the history
libretro: build tvos with ffmpeg
  • Loading branch information
hrydgard committed Oct 15, 2023
2 parents 618589a + 39e2d2a commit 5334908
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .gitlab-ci.yml
Expand Up @@ -158,4 +158,4 @@ libretro-build-tvos-arm64:
- .core-defs
- .cmake-defs
variables:
CORE_ARGS: -DIOS_PLATFORM=TVOS -DUSE_FFMPEG=NO -DCMAKE_TOOLCHAIN_FILE=cmake/Toolchains/ios.cmake -DLIBRETRO=ON
CORE_ARGS: -DIOS_PLATFORM=TVOS -DCMAKE_TOOLCHAIN_FILE=cmake/Toolchains/ios.cmake -DLIBRETRO=ON
6 changes: 5 additions & 1 deletion CMakeLists.txt
Expand Up @@ -901,7 +901,11 @@ if(USE_FFMPEG)
set(PLATFORM_ARCH "android/x86")
endif()
elseif(IOS)
set(PLATFORM_ARCH "ios/universal")
if(IOS_PLATFORM STREQUAL "TVOS")
set(PLATFORM_ARCH "tvos/arm64")
else()
set(PLATFORM_ARCH "ios/universal")
endif()
elseif(MACOSX)
set(PLATFORM_ARCH "macosx/universal")
elseif(LINUX)
Expand Down

0 comments on commit 5334908

Please sign in to comment.