Skip to content

Commit

Permalink
Updated SvtAV1 find location.
Browse files Browse the repository at this point in the history
  • Loading branch information
ggarra13 committed Feb 10, 2024
1 parent 6b78552 commit 5aca58f
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions etc/SuperBuild/cmake/Modules/BuildFFmpeg.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,15 @@ else()
if(TLRENDER_AV1)
list(APPEND FFmpeg_LDFLAGS
--extra-ldflags="${CMAKE_INSTALL_PREFIX}/lib/libdav1d.a")
if(EXISTS ${CMAKE_INSTALL_PREFIX}/lib64/libSvtAv1Enc.a)
if(EXISTS "${CMAKE_INSTALL_PREFIX}/lib64/libSvtAv1Enc.a")
list(APPEND FFmpeg_LDFLAGS
--extra-ldflags="${CMAKE_INSTALL_PREFIX}/lib64/libSvtAv1Enc.a")
else()
elseif(EXISTS "${CMAKE_INSTALL_PREFIX}/lib/libSvtAv1Enc.a")
list(APPEND FFmpeg_LDFLAGS
--extra-ldflags="${CMAKE_INSTALL_PREFIX}/lib/libSvtAv1Enc.a")
else()
list(APPEND FFmpeg_LDFLAGS
--extra-ldflags="${CMAKE_INSTALL_PREFIX}/lib64/libSvtAv1Enc.a")
endif()
if (UNIX AND NOT APPLE)
list(APPEND FFmpeg_LDFLAGS
Expand Down

0 comments on commit 5aca58f

Please sign in to comment.