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