diff options
-rw-r--r-- | intern/cycles/app/CMakeLists.txt | 1 | ||||
-rw-r--r-- | intern/cycles/device/CMakeLists.txt | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/intern/cycles/app/CMakeLists.txt b/intern/cycles/app/CMakeLists.txt index 36e3e179be5..d67a72ab7db 100644 --- a/intern/cycles/app/CMakeLists.txt +++ b/intern/cycles/app/CMakeLists.txt @@ -22,7 +22,6 @@ set(LIBRARIES ${ZLIB_LIBRARIES} ${TIFF_LIBRARY} ${PTHREADS_LIBRARIES} - extern_clew ) if(WITH_CUDA_DYNLOAD) diff --git a/intern/cycles/device/CMakeLists.txt b/intern/cycles/device/CMakeLists.txt index 75f4a72bee3..3e14480e2ad 100644 --- a/intern/cycles/device/CMakeLists.txt +++ b/intern/cycles/device/CMakeLists.txt @@ -77,6 +77,9 @@ if(WITH_CYCLES_NETWORK) add_definitions(-DWITH_NETWORK) endif() if(WITH_CYCLES_DEVICE_OPENCL) + list(APPEND LIB + extern_clew + ) add_definitions(-DWITH_OPENCL) endif() if(WITH_CYCLES_DEVICE_CUDA) |