Skip to content

Commit

Permalink
update build scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
sniper00 committed Aug 29, 2024
1 parent fa341c3 commit b9e63b2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions premake5.lua
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,7 @@ newaction {
os.execute("premake5.exe clean")
os.execute("premake5.exe vs2022")
local vswhere = os.getenv("programfiles")..[[ (x86)\Microsoft Visual Studio\Installer\vswhere.exe]]
vswhere = string_trim(vswhere)
local command = string.format('"%s" %s', vswhere, " -latest -products * -requires Microsoft.Component.MSBuild -property installationPath")
local handle = assert(io.popen(command))
local result = handle:read("*a")
Expand Down

0 comments on commit b9e63b2

Please sign in to comment.