mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-09-29 12:48:46 +00:00
Fix the no gui cmake build.
Add a version check for avcodec and swscale libraries. Fix a bug in the xlib wiimote emulation button configuration. If you are using a mouse button for wiimote emulation you may need to adjust your settings. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6426 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
71f842e8c0
commit
4f81997c14
4 changed files with 10 additions and 7 deletions
|
@ -35,13 +35,13 @@ set(SRCS Src/BPMemory.cpp
|
|||
Src/XFStructs.cpp
|
||||
Src/OpenCL/OCLTextureDecoder.cpp)
|
||||
|
||||
if(AVCODEC_FOUND OR WIN32)
|
||||
if(ENCODE_FRAMEDUMPS OR WIN32)
|
||||
set(SRCS ${SRCS} Src/AVIDump.cpp)
|
||||
endif()
|
||||
|
||||
add_library(videocommon STATIC ${SRCS})
|
||||
if(UNIX)
|
||||
if(AVCODEC_FOUND)
|
||||
if(ENCODE_FRAMEDUMPS)
|
||||
target_link_libraries(videocommon avcodec swscale)
|
||||
add_definitions(-D__STDC_CONSTANT_MACROS)
|
||||
endif()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue