summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorHadrien G <grasland@lal.in2p3.fr>2019-12-20 21:52:53 +0100
committerAdam J. Stewart <ajstewart426@gmail.com>2019-12-20 14:52:53 -0600
commit3dd59c569e24cc5167748ee96848b344ee572320 (patch)
tree1083f6cd28384f1eb8c6e14d84ff41b76934d21d /var
parent3bb9d0feb4d97d3216d1f3941469be89fc2f0d40 (diff)
downloadspack-3dd59c569e24cc5167748ee96848b344ee572320.tar.gz
spack-3dd59c569e24cc5167748ee96848b344ee572320.tar.bz2
spack-3dd59c569e24cc5167748ee96848b344ee572320.tar.xz
spack-3dd59c569e24cc5167748ee96848b344ee572320.zip
Latest versions of CMake need a hand for Python detection (#14247)
Diffstat (limited to 'var')
-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