Skip to content

Commit a2d1156

Browse files
committed
.
1 parent 4bdc851 commit a2d1156

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/torchcodec/decoders/_core/CMakeLists.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,10 +77,17 @@ if(DEFINED ENV{BUILD_AGAINST_ALL_FFMPEG_FROM_S3})
7777
)
7878

7979

80+
if(ENABLE_CUDA)
81+
# TODO: Enable more ffmpeg versions for cuda.
82+
make_torchcodec_library(libtorchcodec7 ffmpeg7)
83+
make_torchcodec_library(libtorchcodec6 ffmpeg6)
84+
#else()
8085
make_torchcodec_library(libtorchcodec7 ffmpeg7)
8186
make_torchcodec_library(libtorchcodec6 ffmpeg6)
8287
make_torchcodec_library(libtorchcodec5 ffmpeg5)
8388
make_torchcodec_library(libtorchcodec4 ffmpeg4)
89+
#endif()
90+
8491
else()
8592
message(
8693
STATUS

0 commit comments

Comments
 (0)