diff options
-rw-r--r-- | var/spack/repos/builtin/packages/dd4hep/package.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/dd4hep/package.py b/var/spack/repos/builtin/packages/dd4hep/package.py index a88cdd1529..0f0788247f 100644 --- a/var/spack/repos/builtin/packages/dd4hep/package.py +++ b/var/spack/repos/builtin/packages/dd4hep/package.py @@ -38,6 +38,8 @@ class Dd4hep(CMakePackage): "-DCMAKE_CXX_STANDARD={0}".format(cxxstd), "-DDD4HEP_USE_XERCESC={0}".format(spec.satisfies('+xercesc')), "-DDD4HEP_USE_GEANT4={0}".format(spec.satisfies('+geant4')), - "-DBUILD_TESTING={0}".format(spec.satisfies('+testing')) + "-DBUILD_TESTING={0}".format(spec.satisfies('+testing')), + "-DBOOST_ROOT={0}".format(spec['boost'].prefix), + "-DBoost_NO_BOOST_CMAKE=ON", ] return args |