dolphin/Source/Plugins/Plugin_VideoOGL/CMakeLists.txt
Glenn Rice 57f01776ef Fix cmake so it is possible to build without bluetooth support, and the typo that tells you bluetooth is enabled when it is not.
Fixes issue 3464.
Also make the check for portaudio really check the version of portaudio.


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6359 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-11-08 02:51:31 +00:00

40 lines
867 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
Src/XFB.cpp)
set(LIBS videocommon
GLEW
SOIL
common
Cg
CgGL)
if(wxWidgets_FOUND)
set(SRCS ${SRCS}
Src/GUI/ConfigDlg.cpp
Src/Debugger/Debugger.cpp)
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 AND OPENCL_FOUND)
set(LIBS ${LIBS} OpenCL)
endif()
add_library(Plugin_VideoOGL SHARED ${SRCS})
target_link_libraries(Plugin_VideoOGL ${LIBS})
install(TARGETS Plugin_VideoOGL LIBRARY DESTINATION ${plugindir})