diff options
Diffstat (limited to 'var/spack/repos/builtin/packages/fms/package.py')
-rw-r--r-- | var/spack/repos/builtin/packages/fms/package.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/fms/package.py b/var/spack/repos/builtin/packages/fms/package.py index e47acb068d..8a6887e521 100644 --- a/var/spack/repos/builtin/packages/fms/package.py +++ b/var/spack/repos/builtin/packages/fms/package.py @@ -71,7 +71,7 @@ class Fms(CMakePackage): when="@2022.02:", ) variant( - "fpic", default=False, description="Build with position independent code", when="@2022.02:" + "pic", default=False, description="Build with position independent code", when="@2022.02:" ) depends_on("netcdf-c") @@ -86,9 +86,9 @@ class Fms(CMakePackage): self.define_from_variant("ENABLE_QUAD_PRECISION", "quad_precision"), self.define_from_variant("WITH_YAML", "yaml"), self.define_from_variant("CONSTANTS"), - self.define_from_variant("FPIC"), self.define("32BIT", "precision=32" in self.spec), self.define("64BIT", "precision=64" in self.spec), + self.define_from_variant("FPIC", "pic"), ] args.append(self.define("CMAKE_C_COMPILER", self.spec["mpi"].mpicc)) |