From 2ff38f0ddb6154a7a4f27b4b91420e4271acf413 Mon Sep 17 00:00:00 2001 From: Ritchie1108 Date: Thu, 4 Jul 2024 00:06:02 -0400 Subject: [PATCH] chore: update VC-LTL-5 build configuration for different architectures --- VC-LTL5.lua | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/VC-LTL5.lua b/VC-LTL5.lua index b7c445d..4e37b05 100644 --- a/VC-LTL5.lua +++ b/VC-LTL5.lua @@ -28,13 +28,9 @@ target("VC-LTL-5") runenvs.INCLUDE = includepath .. runenvs.INCLUDE local arch = target:arch() - local archpath = "Win32" - if arch=="x86" then - archpath = "Win32" - elseif arch=="x64" then - archpath = "x64" - elseif arch=="arm64" then - archpath = "arm64" + local archpath = "Win32" + if arch ~= "x86" then + archpath = arch end cprint("${color.warning}Platform : %s", archpath) local libpath = VC_LTL_Root .. [[TargetPlatform\]] .. WindowsTargetPlatformMinVersion..[[\lib\]] .. archpath .. ";"