mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-22 15:40:02 +00: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)
|
if(ENCODE_FRAMEDUMPS)
|
||||||
check_libav()
|
check_libav()
|
||||||
if(LIBAV_FOUND)
|
if(LIBAV_FOUND)
|
||||||
LIST(APPEND LIBS ${LIBAV_LIBRARIES})
|
LIST(APPEND LIBS ${LIBAV_LDFLAGS})
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
endif()
|
endif()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user