From 2caa685c7f6335465f262a818a75a20c191aba24 Mon Sep 17 00:00:00 2001 From: Glenn Rice Date: Mon, 6 Dec 2010 13:06:54 +0000 Subject: [PATCH] Fix a few more linkage issues in the cmake build. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6537 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/VideoCommon/CMakeLists.txt | 2 +- Source/Plugins/Plugin_VideoSoftware/CMakeLists.txt | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) 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)