diff --git a/Source/Core/VideoCommon/CMakeLists.txt b/Source/Core/VideoCommon/CMakeLists.txt index 79b471cf47..15275707dd 100644 --- a/Source/Core/VideoCommon/CMakeLists.txt +++ b/Source/Core/VideoCommon/CMakeLists.txt @@ -46,7 +46,7 @@ endif() add_library(videocommon STATIC ${SRCS}) if(${CMAKE_SYSTEM_NAME} MATCHES "Linux") if(ENCODE_FRAMEDUMPS) - target_link_libraries(videocommon avcodec avformat swscale) + target_link_libraries(videocommon avcodec avformat swscale avutil) add_definitions(-D__STDC_CONSTANT_MACROS) endif() add_definitions(-fPIC) diff --git a/Source/Plugins/Plugin_VideoSoftware/CMakeLists.txt b/Source/Plugins/Plugin_VideoSoftware/CMakeLists.txt index 8f7cd53a60..9a6a33b0d6 100644 --- a/Source/Plugins/Plugin_VideoSoftware/CMakeLists.txt +++ b/Source/Plugins/Plugin_VideoSoftware/CMakeLists.txt @@ -33,7 +33,8 @@ set(LIBS videocommon SOIL common ${OPENGL_LIBRARIES} - ${X11_LIBRARIES}) + ${X11_LIBRARIES} + ${wxWidgets_LIBRARIES}) if((${CMAKE_SYSTEM_NAME} MATCHES "Darwin") AND NOT wxWidgets_FOUND) set(SRCS ${SRCS} Src/cocoaGL.m)