From 783c89f108a6ddfbd80c6dfb90e51e01d74a6800 Mon Sep 17 00:00:00 2001 From: Sonicadvance1 Date: Thu, 31 Mar 2011 20:41:59 +0000 Subject: [PATCH] videocommon depends on core for Fifo Recorder git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7430 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/VideoCommon/CMakeLists.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Source/Core/VideoCommon/CMakeLists.txt b/Source/Core/VideoCommon/CMakeLists.txt index 54147ea2bb..481ced250a 100644 --- a/Source/Core/VideoCommon/CMakeLists.txt +++ b/Source/Core/VideoCommon/CMakeLists.txt @@ -39,6 +39,7 @@ set(SRCS Src/BPFunctions.cpp Src/XFStructs.cpp Src/memcpy_amd.cpp) +set(LIBS core) if(wxWidgets_FOUND AND WIN32) set(SRCS ${SRCS} Src/EmuWindow.cpp) endif() @@ -48,9 +49,11 @@ if(LIBAV_FOUND OR WIN32) endif() add_library(videocommon STATIC ${SRCS}) +target_link_libraries(videocommon ${LIBS}) + if(${CMAKE_SYSTEM_NAME} MATCHES "Linux") if(LIBAV_FOUND) - target_link_libraries(videocommon ${LIBAV_LIBRARIES}) + target_link_libraries(videocommon ${LIBS} ${LIBAV_LIBRARIES}) add_definitions(-D__STDC_CONSTANT_MACROS) endif() endif()