summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/dd4hep/package.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/dd4hep/package.py b/var/spack/repos/builtin/packages/dd4hep/package.py
index b63fa088b9..1eab86c81e 100644
--- a/var/spack/repos/builtin/packages/dd4hep/package.py
+++ b/var/spack/repos/builtin/packages/dd4hep/package.py
@@ -43,5 +43,6 @@ class Dd4hep(CMakePackage):
"-DBUILD_TESTING={0}".format(spec.satisfies('+testing')),
"-DBOOST_ROOT={0}".format(spec['boost'].prefix),
"-DBoost_NO_BOOST_CMAKE=ON",
+ "-DPYTHON_EXECUTABLE={0}".format(spec['python'].command.path),
]
return args