Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmadsharif1 committed Oct 16, 2024
1 parent 4bdc851 commit a2d1156
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/torchcodec/decoders/_core/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,17 @@ if(DEFINED ENV{BUILD_AGAINST_ALL_FFMPEG_FROM_S3})
)


if(ENABLE_CUDA)
# TODO: Enable more ffmpeg versions for cuda.
make_torchcodec_library(libtorchcodec7 ffmpeg7)
make_torchcodec_library(libtorchcodec6 ffmpeg6)
#else()
make_torchcodec_library(libtorchcodec7 ffmpeg7)
make_torchcodec_library(libtorchcodec6 ffmpeg6)
make_torchcodec_library(libtorchcodec5 ffmpeg5)
make_torchcodec_library(libtorchcodec4 ffmpeg4)
#endif()

else()
message(
STATUS
Expand Down

0 comments on commit a2d1156

Please sign in to comment.