summaryrefslogtreecommitdiff
path: root/platform/macos
diff options
context:
space:
mode:
authorRon B. Yeh <ronyeh@gmail.com>2023-03-06 16:25:00 -0800
committerYuri Sizov <yuris@humnom.net>2023-03-27 17:15:28 +0200
commitb54ff430aae832002b1b20f97a6a246e3a025d6f (patch)
treef3fc1b2605aef900863222563f606b68edd3a7a6 /platform/macos
parent6e85d4efeaab144cb2e170ccdd3d98a953881f5e (diff)
Rename mkv_list to mvk_list (MoltenVK path list).
(cherry picked from commit 7e7ac1bb873cba3f50e64df5ca5c94778aa530f6)
Diffstat (limited to 'platform/macos')
-rw-r--r--platform/macos/detect.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/platform/macos/detect.py b/platform/macos/detect.py
index cd46dab4f3..e3c1f17b8f 100644
--- a/platform/macos/detect.py
+++ b/platform/macos/detect.py
@@ -242,17 +242,17 @@ def configure(env: "Environment"):
env.Append(LINKFLAGS=["-lMoltenVK"])
mvk_found = False
- mkv_list = [get_mvk_sdk_path(), "/opt/homebrew/lib", "/usr/local/homebrew/lib", "/opt/local/lib"]
+ mvk_list = [get_mvk_sdk_path(), "/opt/homebrew/lib", "/usr/local/homebrew/lib", "/opt/local/lib"]
if env["vulkan_sdk_path"] != "":
- mkv_list.insert(0, os.path.expanduser(env["vulkan_sdk_path"]))
- mkv_list.insert(
+ mvk_list.insert(0, os.path.expanduser(env["vulkan_sdk_path"]))
+ mvk_list.insert(
0,
os.path.join(
os.path.expanduser(env["vulkan_sdk_path"]), "MoltenVK/MoltenVK.xcframework/macos-arm64_x86_64/"
),
)
- for mvk_path in mkv_list:
+ for mvk_path in mvk_list:
if mvk_path and os.path.isfile(os.path.join(mvk_path, "libMoltenVK.a")):
mvk_found = True
print("MoltenVK found at: " + mvk_path)