diff options
Diffstat (limited to 'var/spack/repos/builtin/packages/clingo/package.py')
-rw-r--r-- | var/spack/repos/builtin/packages/clingo/package.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/clingo/package.py b/var/spack/repos/builtin/packages/clingo/package.py index 27dd3473e5..bef3e146cb 100644 --- a/var/spack/repos/builtin/packages/clingo/package.py +++ b/var/spack/repos/builtin/packages/clingo/package.py @@ -74,8 +74,8 @@ class Clingo(CMakePackage): """ python = self.spec["python"] return [ - self.define("Python_EXECUTABLE", str(python.command)), - self.define("Python_INCLUDE_DIR", python.package.config_vars["include"]), + self.define("Python_EXECUTABLE", python.command), + self.define("Python_INCLUDE_DIR", python.headers.directories[0]), ] @property |