diff --git a/Source/Core/DolphinWX/CMakeLists.txt b/Source/Core/DolphinWX/CMakeLists.txt index 5fc433009f..f38e791cd0 100644 --- a/Source/Core/DolphinWX/CMakeLists.txt +++ b/Source/Core/DolphinWX/CMakeLists.txt @@ -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