From e72ae04e5cbef1b582b894be177ff5b00ff7dbd2 Mon Sep 17 00:00:00 2001 From: Glenn Rice Date: Tue, 9 Nov 2010 00:29:07 +0000 Subject: 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 --- Source/Core/VideoCommon/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Source/Core') diff --git a/Source/Core/VideoCommon/CMakeLists.txt b/Source/Core/VideoCommon/CMakeLists.txt index 3fb43bee8d..bf919090b3 100644 --- a/Source/Core/VideoCommon/CMakeLists.txt +++ b/Source/Core/VideoCommon/CMakeLists.txt @@ -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) -- cgit v1.2.3