[embree] rely on spack to provide location of tbb (#42163)
This commit is contained in:
parent
fd70ac2d99
commit
8ac27241b6
@ -59,7 +59,6 @@ def cmake_args(self):
|
|||||||
"-DEMBREE_TUTORIALS=OFF",
|
"-DEMBREE_TUTORIALS=OFF",
|
||||||
"-DEMBREE_IGNORE_CMAKE_CXX_FLAGS=ON",
|
"-DEMBREE_IGNORE_CMAKE_CXX_FLAGS=ON",
|
||||||
self.define_from_variant("EMBREE_ISPC_SUPPORT", "ispc"),
|
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:"):
|
if spec.satisfies("target=x86_64:") or spec.satisfies("target=x86:"):
|
||||||
|
Loading…
Reference in New Issue
Block a user