mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-30 01:29:42 -06:00
Simplify OpenCL compile-time detection on OS X.
Turn wiiuse io_osx.m into Objective-C++. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6398 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -31,11 +31,8 @@ set(SRCS Src/BPMemory.cpp
|
||||
Src/VideoState.cpp
|
||||
Src/XFBConvert.cpp
|
||||
Src/XFMemory.cpp
|
||||
Src/XFStructs.cpp)
|
||||
|
||||
if(NOT APPLE)
|
||||
set(SRCS ${SRCS} Src/OpenCL/OCLTextureDecoder.cpp)
|
||||
endif(NOT APPLE)
|
||||
Src/XFStructs.cpp
|
||||
Src/OpenCL/OCLTextureDecoder.cpp)
|
||||
|
||||
add_library(videocommon STATIC ${SRCS})
|
||||
if(UNIX)
|
||||
|
@ -38,11 +38,7 @@ files = [
|
||||
'OnScreenDisplay.cpp',
|
||||
'HiresTextures.cpp',
|
||||
'DLCache.cpp',
|
||||
'OpenCL/OCLTextureDecoder.cpp',
|
||||
]
|
||||
|
||||
if env['HAVE_OPENCL']:
|
||||
files += [
|
||||
'OpenCL/OCLTextureDecoder.cpp',
|
||||
]
|
||||
|
||||
env.StaticLibrary(env['local_libs'] + "videocommon", files)
|
||||
|
Reference in New Issue
Block a user