mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-05-19 01:44:53 +00:00
cmake: prefer system ffmpeg library (#451)
This commit is contained in:
parent
c1fb5d5bca
commit
ad60ae1d40
3 changed files with 27 additions and 2 deletions
3
externals/CMakeLists.txt
vendored
3
externals/CMakeLists.txt
vendored
|
@ -47,9 +47,10 @@ else()
|
|||
endif()
|
||||
endif()
|
||||
|
||||
if (NOT TARGET ffmpeg)
|
||||
if (NOT TARGET FFmpeg::ffmpeg)
|
||||
set(ARCHITECTURE "x86_64")
|
||||
add_subdirectory(ffmpeg-core)
|
||||
add_library(FFmpeg::ffmpeg ALIAS ffmpeg)
|
||||
endif()
|
||||
|
||||
# Zlib-Ng
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue