mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 13:27:45 -07:00
Fix linking to libav in non-default path
LIBAV_LDFLAGS has -L, LIBAV_LIBRARIES is just the names of the I think this is not necessary for other dependencies because they consist of a single library and go through a different path (check_lib) that provides the full path to it. e.g. from my CMakeCache.txt: ICONV_LIBRARIES:FILEPATH=/usr/lib/libiconv.dylib (good) LIBAV_LIBRARIES:INTERNAL=avcodec;avformat;swscale;avutil (bad)
This commit is contained in:
parent
700b850acd
commit
4b06089103
@ -469,7 +469,7 @@ if(NOT ANDROID)
|
||||
if(ENCODE_FRAMEDUMPS)
|
||||
check_libav()
|
||||
if(LIBAV_FOUND)
|
||||
LIST(APPEND LIBS ${LIBAV_LIBRARIES})
|
||||
LIST(APPEND LIBS ${LIBAV_LDFLAGS})
|
||||
endif()
|
||||
|
||||
endif()
|
||||
|
Loading…
Reference in New Issue
Block a user