ROOT: set PYTHON_EXECUTABLE (#11583)
Per @adamjstewart use spec['python'].command.path
This commit is contained in:
parent
ca05c2cbd8
commit
7438bb7f45
1 changed files with 2 additions and 2 deletions
|
@ -504,8 +504,8 @@ def cmake_args(self):
|
||||||
|
|
||||||
# see https://github.com/spack/spack/pull/11579
|
# see https://github.com/spack/spack/pull/11579
|
||||||
if '+python' in self.spec:
|
if '+python' in self.spec:
|
||||||
options.append('-DPYTHON_EXECUTABLE=%s/python' %
|
options.append('-DPYTHON_EXECUTABLE=%s' %
|
||||||
self.spec['python'].prefix.bin)
|
spec['python'].command.path)
|
||||||
|
|
||||||
return options
|
return options
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue