seacas: require +metis and +mpi instead of +parmetis (#46205)
This change aligns the build condition for parmetis with the depends_on condition. The current build condition of parmetis looks for "+parmetis" in the spec which is not added by the depends_on as that adds "^parmetis" instead.
This commit is contained in:
parent
656720a387
commit
bc5456a791
@ -427,7 +427,7 @@ def cmake_args(self):
|
||||
[define("TPL_ENABLE_Netcdf", True), define("NetCDF_ROOT", spec["netcdf-c"].prefix)]
|
||||
)
|
||||
|
||||
if "+parmetis" in spec:
|
||||
if spec.satisfies("+metis+mpi"):
|
||||
options.extend(
|
||||
[
|
||||
define("TPL_ENABLE_METIS", True),
|
||||
|
Loading…
Reference in New Issue
Block a user