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:
mvlopri 2024-09-04 21:03:02 -06:00 committed by GitHub
parent 656720a387
commit bc5456a791
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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),