Commit: 7a0cad0989d8162787896d6235f2e4d3064573ad
Author: Hans Goudey
Date: Sat Oct 23 12:31:48 2021 -0500
Branches: master
https://developer.blender.org/rB7a0cad0989d8162787896d6235f2e4d3064573ad
Fix: Add missing TBB define to geometry module
===================================================================
M source/blender/geometry/CMakeLists.txt
===================================================================
diff --git a/source/blender/geometry/CMakeLists.txt
b/source/blender/geometry/CMakeLists.txt
index 4e7e0b1ea58..03f736d4dde 100644
--- a/source/blender/geometry/CMakeLists.txt
+++ b/source/blender/geometry/CMakeLists.txt
@@ -39,4 +39,16 @@ set(LIB
bf_blenlib
)
+if(WITH_TBB)
+ add_definitions(-DWITH_TBB)
+
+ list(APPEND INC_SYS
+ ${TBB_INCLUDE_DIRS}
+ )
+
+ list(APPEND LIB
+ ${TBB_LIBRARIES}
+ )
+endif()
+
blender_add_lib(bf_geometry "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
List details, subscription details or unsubscribe:
https://lists.blender.org/mailman/listinfo/bf-blender-cvs