Cycles: OpenCL library is now dynamically loaded so that blender doesn't crash

if it's not installed on the system.

Code copied from clew.h/clew.c in CLCC:
http://clcc.sourceforge.net/
This commit is contained in:
Brecht Van Lommel
2011-09-01 19:00:23 +00:00
parent af7171524a
commit 27102bfec4
11 changed files with 1665 additions and 39 deletions

View File

@@ -54,8 +54,6 @@ endif()
if(WITH_CYCLES_OPENCL)
add_definitions(-DWITH_OPENCL)
include_directories(${OPENCL_INCLUDE_DIR})
endif()
include_directories(