mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-20 03:25:16 +00:00
cmake: don't use hardcoded lib names when using system ffmpeg and remove unneeded line
This commit is contained in:
parent
3a9778668a
commit
ea8397fbab
1 changed files with 1 additions and 2 deletions
|
@ -425,8 +425,7 @@ else()
|
|||
endif()
|
||||
target_link_libraries(rpcs3 ${CMAKE_DL_LIBS} ZLIB::ZLIB ${ADDITIONAL_LIBS})
|
||||
if(USE_SYSTEM_FFMPEG)
|
||||
link_libraries(${FFMPEG_LIBRARY_DIR})
|
||||
target_link_libraries(rpcs3 libavformat.so libavcodec.so libavutil.so libswscale.so)
|
||||
target_link_libraries(rpcs3 ${FFMPEG_LIBRARIES})
|
||||
else()
|
||||
target_link_libraries(rpcs3 libavformat.a libavcodec.a libavutil.a libswscale.a)
|
||||
endif()
|
||||
|
|
Loading…
Add table
Reference in a new issue