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 @@ -2428,9 +2428,10 @@ def ForceBuildDependency(self, dep):
24282428 PrintError ("Draco plugin can not be enabled for monolithic build on Windows" )
24292429 sys .exit (1 )
24302430
2431- # The versions of Embree we currently support do not support oneTBB.
2432- if context .buildOneTBB and context .buildEmbree :
2433- PrintError ("Embree support cannot be enabled when building against oneTBB" )
2431+ # When building with both oneTBB and Embree, a 4.x version of Embree must be
2432+ # used.
2433+ if context .buildOneTBB and (context .buildEmbree and context .embreeMajorVersion < 4 ):
2434+ PrintError ("Embree 4.x or later must be selected when building against oneTBB" )
24342435 sys .exit (1 )
24352436
24362437# Error out if user explicitly enabled components which aren't
You can’t perform that action at this time.
0 commit comments