mirror of
https://github.com/ZDoom/zdoom-macos-deps.git
synced 2024-11-10 14:41:43 +00:00
aedi: fix sdk path adjustment
This commit is contained in:
parent
2ce7f7aa19
commit
4aa48ce2b6
1 changed files with 2 additions and 2 deletions
|
@ -82,9 +82,9 @@ class Builder(object):
|
|||
def _populate_platforms(self, arguments):
|
||||
state = self._state
|
||||
|
||||
def adjust_sdk_path(path: Path) -> Path:
|
||||
def adjust_sdk_path(path: str) -> Path:
|
||||
if path:
|
||||
return path.absolute()
|
||||
return Path(path).absolute()
|
||||
|
||||
sdk_probe_path = state.root_path / 'sdk' / f'MacOSX{os_version}.sdk'
|
||||
return sdk_probe_path if sdk_probe_path.exists() else None
|
||||
|
|
Loading…
Reference in a new issue