Skip to content

Commit

Permalink
patch upstream.
Browse files Browse the repository at this point in the history
  • Loading branch information
vrabaud committed Sep 23, 2024
1 parent e67170c commit 9d39b7b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmake/Modules/LocalAom.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -89,13 +89,15 @@ else()
endif()

if(AVIF_CODEC_AVM)
# TODO(vrabaud) remove the PATCH_COMMAND once upstream is fixed.
FetchContent_Declare(
libaom
GIT_REPOSITORY "https://gitlab.com/AOMediaCodec/avm.git"
BINARY_DIR "${AOM_BINARY_DIR}"
GIT_TAG ${AVIF_LOCAL_AVM_GIT_TAG}
GIT_PROGRESS ON
GIT_SHALLOW ON
PATCH_COMMAND sed -i CMakeLists.txt -e "s:CMAKE_CURRENT_BINARY_DIR\}/flatbuffers:CMAKE_BINARY_DIR\}/flatbuffers:"
UPDATE_COMMAND ""
)
else()
Expand Down

0 comments on commit 9d39b7b

Please sign in to comment.