Skip to content

Commit

Permalink
Added CABLE_LIBRARY variant.
Browse files Browse the repository at this point in the history
  • Loading branch information
bschroeter committed Dec 16, 2024
1 parent 6e80b34 commit 9615df6
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions packages/cable/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,13 @@ def url_for_version(self, version):
default=True,
description="Build MPI executable.",
)

variant(
"library",
default=False,
description="Build CABLE science library object.",
)

variant(
"build_type",
default="Release",
Expand All @@ -42,4 +49,5 @@ def url_for_version(self, version):
def cmake_args(self):
args = []
args.append(self.define_from_variant("CABLE_MPI", "mpi"))
args.append(self.define_from_variant("CABLE_LIBRARY", "library"))
return args

0 comments on commit 9615df6

Please sign in to comment.