From 3e44b5fca0b15475a45cafc8768095c06dcef746 Mon Sep 17 00:00:00 2001 From: Ben Schroeter Date: Wed, 18 Dec 2024 11:43:00 +1100 Subject: [PATCH] cable: add new variant "library" (#181) --- packages/cable/package.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/packages/cable/package.py b/packages/cable/package.py index 3fc596c..60e0628 100644 --- a/packages/cable/package.py +++ b/packages/cable/package.py @@ -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", @@ -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