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 @@ -2513,9 +2513,10 @@ def ForceBuildDependency(self, dep):
25132513 PrintError ("Draco plugin can not be enabled for monolithic build on Windows" )
25142514 sys .exit (1 )
25152515
2516- # The versions of Embree we currently support do not support oneTBB.
2517- if context .buildOneTBB and context .buildEmbree :
2518- PrintError ("Embree support cannot be enabled when building against oneTBB" )
2516+ # When building with both oneTBB and Embree, a 4.x version of Embree must be
2517+ # used.
2518+ if context .buildOneTBB and (context .buildEmbree and context .embreeMajorVersion < 4 ):
2519+ PrintError ("Embree 4.x or later must be selected when building against oneTBB" )
25192520 sys .exit (1 )
25202521
25212522# Windows ARM64 requires oneTBB. Since oneTBB is a non-standard option for the
You can’t perform that action at this time.
0 commit comments