mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-22 01:08:56 +00:00
Meta: Fixed variable typo switfc -> swiftc
This commit is contained in:
parent
0d2800e411
commit
02abd3e373
Notes:
github-actions[bot]
2025-08-25 09:03:22 +00:00
Author: https://github.com/sayhany 🔰
Commit: 02abd3e373
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5982
Reviewed-by: https://github.com/gmta ✅
1 changed files with 2 additions and 2 deletions
|
@ -196,7 +196,7 @@ def configure_main(platform: Platform, preset: str, cc: str, cxx: str) -> Path:
|
||||||
if build_preset_dir.joinpath("build.ninja").exists() or build_preset_dir.joinpath("ladybird.sln").exists():
|
if build_preset_dir.joinpath("build.ninja").exists() or build_preset_dir.joinpath("ladybird.sln").exists():
|
||||||
return build_preset_dir
|
return build_preset_dir
|
||||||
|
|
||||||
switfc: Optional[str] = None
|
swiftc: Optional[str] = None
|
||||||
validate_cmake_version()
|
validate_cmake_version()
|
||||||
|
|
||||||
if "Swift" in preset:
|
if "Swift" in preset:
|
||||||
|
@ -217,7 +217,7 @@ def configure_main(platform: Platform, preset: str, cc: str, cxx: str) -> Path:
|
||||||
f"-DCMAKE_CXX_COMPILER={cxx}",
|
f"-DCMAKE_CXX_COMPILER={cxx}",
|
||||||
]
|
]
|
||||||
|
|
||||||
if switfc:
|
if swiftc:
|
||||||
config_args.append(f"-DCMAKE_Swift_COMPILER={swiftc}")
|
config_args.append(f"-DCMAKE_Swift_COMPILER={swiftc}")
|
||||||
|
|
||||||
if platform.host_system == HostSystem.Linux and platform.host_architecture == HostArchitecture.AArch64:
|
if platform.host_system == HostSystem.Linux and platform.host_architecture == HostArchitecture.AArch64:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue