From 7a0cad0989d8162787896d6235f2e4d3064573ad Mon Sep 17 00:00:00 2001 From: Hans Goudey Date: Sat, 23 Oct 2021 12:31:48 -0500 Subject: Fix: Add missing TBB define to geometry module --- source/blender/geometry/CMakeLists.txt | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'source/blender') 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}") -- cgit v1.2.3