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
|
||||
if '+python' in self.spec:
|
||||
options.append('-DPYTHON_EXECUTABLE=%s/python' %
|
||||
self.spec['python'].prefix.bin)
|
||||
options.append('-DPYTHON_EXECUTABLE=%s' %
|
||||
spec['python'].command.path)
|
||||
|
||||
return options
|
||||
|
||||
|
|
Loading…
Reference in a new issue