[Bf-blender-cvs] [834fa066143] master: Fix (unreported) building Cycles tests with Embree enabled.

Bastien Montagne noreply at git.blender.org
Wed Dec 5 15:14:45 CET 2018


Commit: 834fa0661430321fe1ceb077c34f5397bcc9542b
Author: Bastien Montagne
Date:   Wed Dec 5 15:14:16 2018 +0100
Branches: master
https://developer.blender.org/rB834fa0661430321fe1ceb077c34f5397bcc9542b

Fix (unreported) building Cycles tests with Embree enabled.

===================================================================

M	intern/cycles/test/CMakeLists.txt

===================================================================

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



More information about the Bf-blender-cvs mailing list