Fix (unreported) building Cycles tests with Embree enabled.
authorBastien Montagne <montagne29@wanadoo.fr>
Wed, 5 Dec 2018 14:14:16 +0000 (15:14 +0100)
committerBastien Montagne <montagne29@wanadoo.fr>
Wed, 5 Dec 2018 14:14:16 +0000 (15:14 +0100)
intern/cycles/test/CMakeLists.txt

index 04894af6d6c4cbcf0f4fb979184d9a271898bc7d..61605535e62278d87f85e7fa14d415ecc34686c2 100644 (file)
@@ -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()