diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2011-09-01 23:00:23 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2011-09-01 23:00:23 +0400 |
commit | 27102bfec4845df5ba8e65f7ca64d04840fbeab3 (patch) | |
tree | d83efbd5211512c4c504020b3e6f99b4332b62c9 /intern/cycles/app/CMakeLists.txt | |
parent | af7171524ab6809a5ebe51c3cbfdff17e2cd74aa (diff) |
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/
Diffstat (limited to 'intern/cycles/app/CMakeLists.txt')
-rw-r--r-- | intern/cycles/app/CMakeLists.txt | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/intern/cycles/app/CMakeLists.txt b/intern/cycles/app/CMakeLists.txt index 1d74c32ca28..4ef5fd6857d 100644 --- a/intern/cycles/app/CMakeLists.txt +++ b/intern/cycles/app/CMakeLists.txt @@ -35,10 +35,6 @@ if(WITH_CYCLES_PARTIO) list(APPEND LIBRARIES ${PARTIO_LIBRARIES}) endif() -if(WITH_CYCLES_OPENCL) - list(APPEND LIBRARIES ${OPENCL_LIBRARIES}) -endif() - if(WITH_CYCLES_TEST) add_executable(cycles_test cycles_test.cpp cycles_xml.cpp cycles_xml.h) target_link_libraries(cycles_test ${LIBRARIES}) |