diff options
-rw-r--r-- | var/spack/repos/builtin/packages/lbann/package.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/lbann/package.py b/var/spack/repos/builtin/packages/lbann/package.py index cd8b81c3d5..04b044610f 100644 --- a/var/spack/repos/builtin/packages/lbann/package.py +++ b/var/spack/repos/builtin/packages/lbann/package.py @@ -183,8 +183,9 @@ class Lbann(CMakePackage): args.extend(['-DAluminum_DIR={0}'.format(spec['aluminum'].prefix)]) if '+conduit' in spec: - args.extend(['-DLBANN_CONDUIT_DIR={0}'.format( - spec['conduit'].prefix)]) + args.extend([ + '-DLBANN_CONDUIT_DIR={0}'.format(spec['conduit'].prefix), + '-DConduit_DIR={0}'.format(spec['conduit'].prefix)]) # Add support for OpenMP if (self.spec.satisfies('%clang')): |