parallelio: set WITH_PNETCDF from +/~pnetcdf (#49548)

This commit is contained in:
Alex Richert 2025-03-18 04:03:55 -07:00 committed by GitHub
parent fd6c419682
commit 9c255381b1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -88,6 +88,7 @@ def cmake_args(self):
define("GENF90_PATH", join_path(src, "genf90")),
define_from_variant("BUILD_SHARED_LIBS", "shared"),
define("PIO_ENABLE_EXAMPLES", False),
define_from_variant("WITH_PNETCDF", "pnetcdf"),
]
if spec.satisfies("+ncint"):
args.extend([define("PIO_ENABLE_NETCDF_INTEGRATION", True)])