Link against systemwide OpenCL on OS X.

This commit is contained in:
Maarten ter Huurne
2011-12-05 05:26:28 +01:00
parent 7ebb0e526f
commit bb182d88b7
2 changed files with 7 additions and 1 deletions

View File

@ -40,6 +40,10 @@ set(SRCS Src/BPFunctions.cpp
Src/memcpy_amd.cpp)
set(LIBS core)
if(NOT ${CL} STREQUAL CL-NOTFOUND)
list(APPEND LIBS ${CL})
endif()
if(wxWidgets_FOUND AND WIN32)
set(SRCS ${SRCS} Src/EmuWindow.cpp)
endif()