diff --git a/var/spack/repos/builtin/packages/lbann/package.py b/var/spack/repos/builtin/packages/lbann/package.py index cd8b81c3d575d1529868cecc2624be2c753326db..04b044610fad909f43959b654d485ba37b141be7 100644 --- a/var/spack/repos/builtin/packages/lbann/package.py +++ b/var/spack/repos/builtin/packages/lbann/package.py @@ -183,8 +183,9 @@ def cmake_args(self): 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')):