Added checks for portaudio and opencl to the cmake build system.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6351 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Glenn Rice
2010-11-06 03:49:18 +00:00
parent 7864f3c087
commit d0afc20596
5 changed files with 49 additions and 14 deletions

View File

@ -28,10 +28,10 @@ endif(wxWidgets_FOUND)
if(APPLE AND NOT wxWidgets_FOUND)
set(SRCS ${SRCS} cocoaGL.m)
elif(WIN32)
elseif(WIN32)
set(SRCS ${SRCS} OS/Win32.cpp)
#elif(NOT APPLE AND OPENCL_FOUND) # TODO: Add OpenCL support
# set(LIBS ${LIBS} OpenCL)
elseif(NOT APPLE AND OPENCL_FOUND)
set(LIBS ${LIBS} OpenCL)
endif()
add_library(Plugin_VideoOGL SHARED ${SRCS})