diff options
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/sensei/package.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/sensei/package.py b/var/spack/repos/builtin/packages/sensei/package.py index 2e1ee5309c..b2f5403205 100644 --- a/var/spack/repos/builtin/packages/sensei/package.py +++ b/var/spack/repos/builtin/packages/sensei/package.py @@ -139,6 +139,8 @@ class Sensei(CMakePackage): if "+python" in spec: args.append(self.define("PYTHON_EXECUTABLE", spec["python"].command.path)) + args.append(self.define("Python_EXECUTABLE", spec["python"].command.path)) + args.append(self.define("Python3_EXECUTABLE", spec["python"].command.path)) if spec.satisfies("@3:"): args.append(self.define("SENSEI_PYTHON_VERSION", 3)) args.append(self.define_from_variant("ENABLE_CATALYST_PYTHON", "catalyst")) |