mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-03-30 07:09:49 -06: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
@ -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…
Reference in New Issue
Block a user