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