python: fix clingo bootstrapping on Apple M1/M2 (#31792)
This commit is contained in:
@@ -74,8 +74,8 @@ def cmake_python_hints(self):
|
||||
"""
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user