mirror of
https://github.com/ZDoom/zdoom-macos-deps.git
synced 2024-11-10 14:41:43 +00:00
aedi: do not run download-cmake target automatically
This commit is contained in:
parent
0e747e7e99
commit
9cf0788e83
2 changed files with 2 additions and 8 deletions
|
@ -26,7 +26,7 @@ import subprocess
|
|||
import typing
|
||||
|
||||
from .state import BuildState
|
||||
from .target import Target, targets, DOWNLOAD_CMAKE_TARGET_NAME
|
||||
from .target import Target, targets
|
||||
from .utility import CaseInsensitiveDict, TargetPlatform, symlink_directory, OS_VERSION_X86_64, OS_VERSION_ARM64
|
||||
|
||||
|
||||
|
@ -123,9 +123,6 @@ class Builder(object):
|
|||
if not state.xcode and state.install_path.exists():
|
||||
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:
|
||||
|
|
|
@ -51,11 +51,8 @@ class CleanDepsTarget(CleanAllTarget):
|
|||
self.args += (state.deps_path,)
|
||||
|
||||
|
||||
DOWNLOAD_CMAKE_TARGET_NAME = 'download-cmake'
|
||||
|
||||
|
||||
class DownloadCMakeTarget(Target):
|
||||
def __init__(self, name=DOWNLOAD_CMAKE_TARGET_NAME):
|
||||
def __init__(self, name='download-cmake'):
|
||||
super().__init__(name)
|
||||
|
||||
def build(self, state: BuildState):
|
||||
|
|
Loading…
Reference in a new issue