mirror of
https://github.com/Retropex/dolphin.git
synced 2025-06-02 23:42:32 +02:00
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
|
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
Block a user