diff options
author | Seth R. Johnson <johnsonsr@ornl.gov> | 2021-02-18 14:12:18 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-18 19:12:18 +0000 |
commit | 2d917e17d9f081bf12b998cb29973ef35922e21a (patch) | |
tree | 116f480ed4ea4eeab66855a9f1c427a6a0b9ea15 | |
parent | b448b639e6a16548469edf33813615195cc2c013 (diff) | |
download | spack-2d917e17d9f081bf12b998cb29973ef35922e21a.tar.gz spack-2d917e17d9f081bf12b998cb29973ef35922e21a.tar.bz2 spack-2d917e17d9f081bf12b998cb29973ef35922e21a.tar.xz spack-2d917e17d9f081bf12b998cb29973ef35922e21a.zip |
flibcpp: Activate SWIG rebuild when +swig (#21767)
This option allows downstream packages to build with SWIG and the flibcpp-exported SWIG interfaces.
-rw-r--r-- | var/spack/repos/builtin/packages/flibcpp/package.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/flibcpp/package.py b/var/spack/repos/builtin/packages/flibcpp/package.py index 59e1433bf9..f0b0551c6c 100644 --- a/var/spack/repos/builtin/packages/flibcpp/package.py +++ b/var/spack/repos/builtin/packages/flibcpp/package.py @@ -44,6 +44,7 @@ class Flibcpp(CMakePackage): self.define_from_variant('BUILD_SHARED_LIBS', 'shared'), self.define_from_variant('FLIBCPP_BUILD_DOCS', 'doc'), self.define_from_variant('FLIBCPP_FORTRAN_STD', 'fstd'), + self.define_from_variant('FLIBCPP_USE_SWIG', 'swig'), self.define('FLIBCPP_BUILD_TESTS', bool(self.run_tests)), self.define('FLIBCPP_BUILD_EXAMPLES', bool(self.run_tests)), ] |