diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-04-19 15:00:16 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-04-19 15:00:16 +0300 |
commit | 9ade9d247d90d348b0d84c3ef5644982de24e9ef (patch) | |
tree | 6d1aa8caf17628fc719923578cc5af83b8b1f9cc /intern/cycles/device/CMakeLists.txt | |
parent | eb844fc1da4b39aea3b9cd1c5091cdb56a81cae0 (diff) |
CMake: fix Cycles linking with OpenCL
Diffstat (limited to 'intern/cycles/device/CMakeLists.txt')
-rw-r--r-- | intern/cycles/device/CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
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) |