Fix: Add missing TBB define to geometry module

This commit is contained in:
Hans Goudey 2021-10-23 12:31:48 -05:00
parent 9ad642c59a
commit 7a0cad0989
1 changed files with 12 additions and 0 deletions

View File

@ -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}")