mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-12-09 05:08:43 +00:00
cmake: prefer system ffmpeg library (#451)
This commit is contained in:
committed by
GitHub
parent
c1fb5d5bca
commit
ad60ae1d40
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
|
||||
|
||||
Reference in New Issue
Block a user