Skip to content

Commit

Permalink
Updated library path lookup.
Browse files Browse the repository at this point in the history
  • Loading branch information
ggarra13 committed Feb 10, 2024
1 parent fabc3d6 commit 5d4a7de
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
10 changes: 2 additions & 8 deletions etc/SuperBuild/cmake/Modules/BuildFFmpeg.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,8 @@ else()
endif()
if(TLRENDER_AV1)
list(APPEND FFmpeg_LDFLAGS
--extra-ldflags="${CMAKE_INSTALL_PREFIX}/lib/libdav1d.a")
if(EXISTS "/lib64" AND NOT APPLE)
list(APPEND FFmpeg_LDFLAGS
--extra-ldflags="${CMAKE_INSTALL_PREFIX}/lib64/libSvtAv1Enc.a")
else()
list(APPEND FFmpeg_LDFLAGS
--extra-ldflags="${CMAKE_INSTALL_PREFIX}/lib/libSvtAv1Enc.a")
endif()
--extra-ldflags="${CMAKE_INSTALL_PREFIX}/lib/libdav1d.a"
--extra-ldflags="${CMAKE_INSTALL_PREFIX}/lib/libSvtAv1Enc.a")
if (UNIX AND NOT APPLE)
list(APPEND FFmpeg_LDFLAGS
--extra-libs=-lm
Expand Down
4 changes: 3 additions & 1 deletion etc/SuperBuild/cmake/Modules/BuildSvtAV1.cmake
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
include(ExternalProject)

include(GNUInstallDirs)

set(SvtAV1_TAG v1.8.0)
set(SvtAV1_ARGS ${TLRENDER_EXTERNAL_ARGS})

list(APPEND SvtAV1_ARGS
-DENABLE_NASM=ON
-DENABLE_NASM=ON
-DCMAKE_INSTALL_LIBDIR=lib
)


Expand Down

0 comments on commit 5d4a7de

Please sign in to comment.