diff options
author | Bioblaze Payne <BioblazePayne@gmail.com> | 2024-10-05 19:41:58 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-05 19:41:58 -0700 |
commit | d7acc238d0c85ecc51fab16a0fd9475637f12af0 (patch) | |
tree | 65977d5f1d61ec79b869199fabfcd86b12cadc2a /platform/macos/detect.py | |
parent | 01acc791d7811ed06973f136e3bd227e60d6b117 (diff) | |
parent | db66bd35af704fe0d83ba9348b8c50a48e51b2ba (diff) | |
download | redot-engine-d7acc238d0c85ecc51fab16a0fd9475637f12af0.tar.gz |
Merge pull request #185 from godotengine/master
Merge from Godot
Diffstat (limited to 'platform/macos/detect.py')
-rw-r--r-- | platform/macos/detect.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/macos/detect.py b/platform/macos/detect.py index 595a83ead3..a8968b592e 100644 --- a/platform/macos/detect.py +++ b/platform/macos/detect.py @@ -2,7 +2,7 @@ import os import sys from typing import TYPE_CHECKING -from methods import detect_darwin_sdk_path, get_compiler_version, is_vanilla_clang, print_error +from methods import detect_darwin_sdk_path, get_compiler_version, is_vanilla_clang, print_error, print_warning from platform_methods import detect_arch, detect_mvk if TYPE_CHECKING: @@ -249,7 +249,7 @@ def configure(env: "SConsEnvironment"): env.Append(LINKFLAGS=["-rpath", "@executable_path/../Frameworks", "-rpath", "@executable_path"]) if env["metal"] and env["arch"] != "arm64": - # Only supported on arm64, so skip it for x86_64 builds. + print_warning("Target architecture '{}' does not support the Metal rendering driver".format(env["arch"])) env["metal"] = False extra_frameworks = set() |