diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2018-12-05 17:14:16 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2018-12-05 17:14:16 +0300 |
commit | 834fa0661430321fe1ceb077c34f5397bcc9542b (patch) | |
tree | 6281ee5c9e7636df9451f29d79e5a9f072457e51 /intern/cycles | |
parent | c9344d6c5b0533629966c6baa853591f345af00a (diff) |
Fix (unreported) building Cycles tests with Embree enabled.
Diffstat (limited to 'intern/cycles')
-rw-r--r-- | intern/cycles/test/CMakeLists.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/intern/cycles/test/CMakeLists.txt b/intern/cycles/test/CMakeLists.txt index 04894af6d6c..61605535e62 100644 --- a/intern/cycles/test/CMakeLists.txt +++ b/intern/cycles/test/CMakeLists.txt @@ -60,6 +60,11 @@ if(WITH_OPENSUBDIV) ${OPENSUBDIV_LIBRARIES} ) endif() +if(WITH_CYCLES_EMBREE) + list(APPEND ALL_CYCLES_LIBRARIES + ${EMBREE_LIBRARIES} + ) +endif() if(WITH_CUDA_DYNLOAD) list(APPEND ALL_CYCLES_LIBRARIES extern_cuew) else() |