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

@@ -739,7 +739,6 @@ if(WITH_CYCLES)
cycles_subd)
endif()
#if(UNIX)
# Sort libraries
set(BLENDER_SORTED_LIBS