summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTeodor Nikolov <teodor.nikolov22@gmail.com>2022-05-13 16:41:41 +0200
committerGitHub <noreply@github.com>2022-05-13 08:41:41 -0600
commitfaa277778e290cb9815269034029cc777162e774 (patch)
tree121008a055f160b8e58529f3929f8c3eeee2114d
parentb60d3dcd2959ef73d08695781270d94a42f5da44 (diff)
downloadspack-faa277778e290cb9815269034029cc777162e774.tar.gz
spack-faa277778e290cb9815269034029cc777162e774.tar.bz2
spack-faa277778e290cb9815269034029cc777162e774.tar.xz
spack-faa277778e290cb9815269034029cc777162e774.zip
sarus: fix dependency on boost (#30659)
The program_options variant is disabled by default in Boost and has to be enabled explicitly.
-rw-r--r--var/spack/repos/builtin/packages/sarus/package.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/sarus/package.py b/var/spack/repos/builtin/packages/sarus/package.py
index 8a00069eef..ec7ad7b3f6 100644
--- a/var/spack/repos/builtin/packages/sarus/package.py
+++ b/var/spack/repos/builtin/packages/sarus/package.py
@@ -40,7 +40,7 @@ class Sarus(CMakePackage):
depends_on("expat", type="build")
depends_on("squashfs", type=("build", "run"))
- depends_on("boost@1.65.0: cxxstd=11")
+ depends_on("boost@1.65.0: cxxstd=11 +program_options")
depends_on("cpprestsdk@2.10.0:")
depends_on("libarchive@3.4.1:")
depends_on("rapidjson@1.2.0-2021-08-13", type="build")