Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans Goudey <h.goudey@me.com>2021-10-23 20:31:48 +0300
committerHans Goudey <h.goudey@me.com>2021-10-23 20:31:48 +0300
commit7a0cad0989d8162787896d6235f2e4d3064573ad (patch)
tree4b54d32b61523495888a358cb906d4d897c82496 /source/blender/geometry
parent9ad642c59ade21d8664ba968d317b062e9654c07 (diff)
Fix: Add missing TBB define to geometry module
Diffstat (limited to 'source/blender/geometry')
-rw-r--r--source/blender/geometry/CMakeLists.txt12
1 files changed, 12 insertions, 0 deletions
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}")