summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/VideoCommon')
-rw-r--r--Source/Core/VideoCommon/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
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)