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 @@ -2488,9 +2488,10 @@ def ForceBuildDependency(self, dep):
24882488 PrintError ("Draco plugin can not be enabled for monolithic build on Windows" )
24892489 sys .exit (1 )
24902490
2491- # The versions of Embree we currently support do not support oneTBB.
2492- if context .buildOneTBB and context .buildEmbree :
2493- PrintError ("Embree support cannot be enabled when building against oneTBB" )
2491+ # When building with both oneTBB and Embree, a 4.x version of Embree must be
2492+ # used.
2493+ if context .buildOneTBB and (context .buildEmbree and context .embreeMajorVersion < 4 ):
2494+ PrintError ("Embree 4.x or later must be selected when building against oneTBB" )
24942495 sys .exit (1 )
24952496
24962497# 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