Only link against libav if it's available.

This commit is contained in:
NeoBrainX 2011-09-12 18:01:45 +02:00
parent ee1dc962bf
commit 854c4903eb
1 changed files with 4 additions and 3 deletions

View File

@ -9,12 +9,13 @@ set(LIBS core
sfml-network sfml-network
SDL SDL
GL GL
avcodec
avformat
swscale
${XRANDR_LIBRARIES} ${XRANDR_LIBRARIES}
${X11_LIBRARIES}) ${X11_LIBRARIES})
if(LIBAV_FOUND)
set(LIBS ${LIBS} ${LIBAV_LIBRARIES})
endif()
if(wxWidgets_FOUND) if(wxWidgets_FOUND)
set(SRCS Src/ARCodeAddEdit.cpp set(SRCS Src/ARCodeAddEdit.cpp
Src/AboutDolphin.cpp Src/AboutDolphin.cpp