[Bf-blender-cvs] [93e02908d4a] cycles_embree: Cycles: Set the preprocessor flag to tell Embree it's using a static library.
Stefan Werner
noreply at git.blender.org
Wed Nov 7 10:53:27 CET 2018
Commit: 93e02908d4a9a38435df05fa22105f149cd885d0
Author: Stefan Werner
Date: Wed Nov 7 10:53:23 2018 +0100
Branches: cycles_embree
https://developer.blender.org/rB93e02908d4a9a38435df05fa22105f149cd885d0
Cycles: Set the preprocessor flag to tell Embree it's using a static library.
===================================================================
M intern/cycles/CMakeLists.txt
===================================================================
diff --git a/intern/cycles/CMakeLists.txt b/intern/cycles/CMakeLists.txt
index 6b58ec78d1c..873bbfa36fa 100644
--- a/intern/cycles/CMakeLists.txt
+++ b/intern/cycles/CMakeLists.txt
@@ -219,6 +219,7 @@ endif()
if(WITH_CYCLES_EMBREE)
add_definitions(-DWITH_EMBREE)
+ add_definitions(-DEMBREE_STATIC_LIB)
include_directories(
SYSTEM
${EMBREE_INCLUDE_DIRS}
More information about the Bf-blender-cvs
mailing list