[embree] rely on spack to provide location of tbb (#42163)

This commit is contained in:
Robert Cohn
2024-01-18 18:48:27 -05:00
committed by GitHub
parent fd70ac2d99
commit 8ac27241b6

View File

@@ -59,7 +59,6 @@ def cmake_args(self):
"-DEMBREE_TUTORIALS=OFF",
"-DEMBREE_IGNORE_CMAKE_CXX_FLAGS=ON",
self.define_from_variant("EMBREE_ISPC_SUPPORT", "ispc"),
self.define("EMBREE_TBB_ROOT", spec["tbb"].prefix),
]
if spec.satisfies("target=x86_64:") or spec.satisfies("target=x86:"):