[Bf-blender-cvs] [ec882b80338] master: Fix geometry nodes build error with TBB enabled and OpenVDB disabled

Brecht Van Lommel noreply at git.blender.org
Sat Feb 13 15:35:49 CET 2021


Commit: ec882b803382cd58032a1f41ee37cfaedd61a0ae
Author: Brecht Van Lommel
Date:   Fri Feb 12 20:08:43 2021 +0100
Branches: master
https://developer.blender.org/rBec882b803382cd58032a1f41ee37cfaedd61a0ae

Fix geometry nodes build error with TBB enabled and OpenVDB disabled

Don't rely on TBB includes coming along with OpenVDB.

===================================================================

M	source/blender/nodes/CMakeLists.txt

===================================================================

diff --git a/source/blender/nodes/CMakeLists.txt b/source/blender/nodes/CMakeLists.txt
index 64c240eb5fd..9fd578b625d 100644
--- a/source/blender/nodes/CMakeLists.txt
+++ b/source/blender/nodes/CMakeLists.txt
@@ -357,6 +357,9 @@ if(WITH_INTERNATIONAL)
 endif()
 
 if(WITH_TBB)
+  list(APPEND INC_SYS
+    ${TBB_INCLUDE_DIRS}
+  )
   add_definitions(-DWITH_TBB)
 endif()



More information about the Bf-blender-cvs mailing list