mirror of
https://github.com/ZDoom/zdoom-macos-deps.git
synced 2024-11-25 21:31:25 +00:00
aedi: download cmake before building a target
This commit is contained in:
parent
5ca6c4bc4d
commit
582d6fe497
1 changed files with 4 additions and 1 deletions
|
@ -25,7 +25,7 @@ import subprocess
|
|||
import typing
|
||||
|
||||
from .state import BuildState
|
||||
from .target import Target, targets
|
||||
from .target import Target, targets, DOWNLOAD_CMAKE_TARGET_NAME
|
||||
from .utility import CaseInsensitiveDict, TargetPlatform, symlink_directory, OS_VERSION_X86_64, OS_VERSION_ARM64
|
||||
|
||||
|
||||
|
@ -128,6 +128,9 @@ class Builder(object):
|
|||
if not state.xcode and os.path.exists(state.install_path):
|
||||
shutil.rmtree(state.install_path)
|
||||
|
||||
if target.name != DOWNLOAD_CMAKE_TARGET_NAME:
|
||||
Builder(['--target=' + DOWNLOAD_CMAKE_TARGET_NAME]).run()
|
||||
|
||||
self._create_prefix_directory()
|
||||
|
||||
if target.multi_platform and not state.xcode:
|
||||
|
|
Loading…
Reference in a new issue