File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -2536,9 +2536,10 @@ def ForceBuildDependency(self, dep):
25362536 PrintError ("Draco plugin can not be enabled for monolithic build on Windows" )
25372537 sys .exit (1 )
25382538
2539- # The versions of Embree we currently support do not support oneTBB.
2540- if context .buildOneTBB and context .buildEmbree :
2541- PrintError ("Embree support cannot be enabled when building against oneTBB" )
2539+ # When building with both oneTBB and Embree, a 4.x version of Embree must be
2540+ # used.
2541+ if context .buildOneTBB and (context .buildEmbree and context .embreeMajorVersion < 4 ):
2542+ PrintError ("Embree 4.x or later must be selected when building against oneTBB" )
25422543 sys .exit (1 )
25432544
25442545# Error out if user enables Vulkan support but env var VULKAN_SDK is not set.
You can’t perform that action at this time.
0 commit comments