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

View File

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