mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-24 14:49:42 -06:00
Setup opencl to work like most of the other externals. Autodetect native shared libraries and if not found fall back to the static libs built from the externals.
Also some general clean up of the main CMakeLists.txt file. I think it is nice to keep the checks and analysis of the results together. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6363 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -33,9 +33,9 @@ set(SRCS Src/BPMemory.cpp
|
||||
Src/XFMemory.cpp
|
||||
Src/XFStructs.cpp)
|
||||
|
||||
if(OPENCL_FOUND)
|
||||
if(NOT APPLE)
|
||||
set(SRCS ${SRCS} Src/OpenCL/OCLTextureDecoder.cpp)
|
||||
endif(OPENCL_FOUND)
|
||||
endif(NOT APPLE)
|
||||
|
||||
add_library(videocommon STATIC ${SRCS})
|
||||
if(UNIX)
|
||||
|
Reference in New Issue
Block a user