mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-15 13:57:57 -07:00
4f81997c14
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
41 lines
877 B
CMake
41 lines
877 B
CMake
set(SRCS Src/BPFunctions.cpp
|
|
Src/FramebufferManager.cpp
|
|
Src/GLUtil.cpp
|
|
Src/main.cpp
|
|
Src/NativeVertexFormat.cpp
|
|
Src/PixelShaderCache.cpp
|
|
Src/PostProcessing.cpp
|
|
Src/RasterFont.cpp
|
|
Src/Render.cpp
|
|
Src/TextureCache.cpp
|
|
Src/TextureConverter.cpp
|
|
Src/VertexShaderCache.cpp
|
|
Src/VertexManager.cpp)
|
|
|
|
set(LIBS videocommon
|
|
GLEW
|
|
SOIL
|
|
common
|
|
Cg
|
|
CgGL)
|
|
|
|
if(wxWidgets_FOUND)
|
|
set(SRCS ${SRCS}
|
|
Src/Debugger/Debugger.cpp)
|
|
set(LIBS videouicommon ${LIBS})
|
|
endif(wxWidgets_FOUND)
|
|
|
|
if(APPLE AND NOT wxWidgets_FOUND)
|
|
set(SRCS ${SRCS} Src/cocoaGL.m)
|
|
elseif(WIN32)
|
|
set(SRCS ${SRCS} Src/OS/Win32.cpp)
|
|
elseif(NOT APPLE)
|
|
set(LIBS ${LIBS} clrun)
|
|
endif()
|
|
|
|
add_library(Plugin_VideoOGL SHARED ${SRCS})
|
|
target_link_libraries(Plugin_VideoOGL ${LIBS})
|
|
install(TARGETS Plugin_VideoOGL
|
|
LIBRARY DESTINATION ${plugindir}
|
|
RUNTIME DESTINATION ${plugindir})
|