Only link against libav if it's available.
This commit is contained in:
parent
ee1dc962bf
commit
854c4903eb
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue