videocommon depends on core for Fifo Recorder
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7430 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
b75d5d1676
commit
783c89f108
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue