ROOT: set PYTHON_EXECUTABLE (#11583)

Per @adamjstewart  use spec['python'].command.path
This commit is contained in:
Patrick Gartung 2019-05-29 15:41:13 -05:00 committed by Adam J. Stewart
parent ca05c2cbd8
commit 7438bb7f45

View file

@ -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