Skip to content

Commit

Permalink
Change CMAKE_OSX_DEPLOYMENT_TARGET on iOS from 8.0 to 9.0
Browse files Browse the repository at this point in the history
This is due to FFmpeg v5.1.6 update:

src/libavfilter/vf_yadif_videotoolbox.m:255:17: error: 'MTLResourceStorageModeShared' is only available on iOS 9.0 or newer [-Werror,-Wunguarded-availability]
        options:MTLResourceStorageModeShared];
  • Loading branch information
bear101 committed Nov 2, 2024
1 parent 6680623 commit 2e043fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Library/TeamTalkLib/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ if (${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
elseif (${CMAKE_SYSTEM_NAME} MATCHES "iOS")

if (NOT CMAKE_OSX_DEPLOYMENT_TARGET)
set (CMAKE_OSX_DEPLOYMENT_TARGET 8.0)
set (CMAKE_OSX_DEPLOYMENT_TARGET 9.0)
message(WARNING "No deployment target specified. Defaulting to ${CMAKE_OSX_DEPLOYMENT_TARGET}")
endif()
list (APPEND COMPILE_FLAGS -fembed-bitcode)
Expand Down

0 comments on commit 2e043fe

Please sign in to comment.