Skip to content

Commit

Permalink
chore: update VC-LTL-5 build configuration for different architectures
Browse files Browse the repository at this point in the history
  • Loading branch information
Ritchie1108 authored and Bush2021 committed Jul 4, 2024
1 parent 4f38e7c commit 2ff38f0
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions VC-LTL5.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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 .. ";"
Expand Down

0 comments on commit 2ff38f0

Please sign in to comment.