Skip to content

Commit

Permalink
Update libav dependencies to version 2023-11-03-x64
Browse files Browse the repository at this point in the history
  • Loading branch information
royshil committed May 4, 2024
1 parent 513be91 commit 80d47af
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,20 @@ if(ENABLE_QT)
endif()

function(find_libav)
if(UNIX AND NOT APPLE)
find_package(PkgConfig REQUIRED)
pkg_check_modules(
LIBAV
REQUIRED
IMPORTED_TARGET
libavcodec
libavformat
libavutil
libswresample)
target_link_libraries(${CMAKE_PROJECT_NAME} PRIVATE PkgConfig::LIBAV)
return()
endif()

if(NOT buildspec)
file(READ "${CMAKE_CURRENT_SOURCE_DIR}/buildspec.json" buildspec)
endif()
Expand Down

0 comments on commit 80d47af

Please sign in to comment.