diff options
author | Brecht Van Lommel <brecht@blender.org> | 2021-02-12 22:08:43 +0300 |
---|---|---|
committer | Brecht Van Lommel <brecht@blender.org> | 2021-02-13 17:35:33 +0300 |
commit | ec882b803382cd58032a1f41ee37cfaedd61a0ae (patch) | |
tree | a82ce3fb5c4398e92eae43affafeddb11f91c625 | |
parent | dae445d94a7a5e1ad38719ea05e5bb0bc76ede84 (diff) |
Fix geometry nodes build error with TBB enabled and OpenVDB disabled
Don't rely on TBB includes coming along with OpenVDB.
-rw-r--r-- | source/blender/nodes/CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
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() |