Skip to content

Commit

Permalink
Disable vulkan for Android as NDK 26 doesn't have vulkan_beta.h
Browse files Browse the repository at this point in the history
  • Loading branch information
phunkyfish committed Aug 14, 2024
1 parent bd0effa commit 9e89082
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions depends/common/ffmpeg/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,11 @@ else()
list(APPEND EXTRA_CONF --enable-debug)
endif()

# Android NDK 26 doesn't come with vulkan_beta.h so let's disable it in that case
if (CORE_SYSTEM_NAME STREQUAL android)
ist(APPEND EXTRA_CONF --disable-vulkan)
endif()

# Run the builds
include(ExternalProject)
if(NOT WIN32)
Expand Down

0 comments on commit 9e89082

Please sign in to comment.