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()