Skip to content

Commit f0d3e73

Browse files
committed
Fixed Windows SDK version detection in build scripts.
1 parent e4e3c72 commit f0d3e73

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

build/Helpers.lua

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,10 @@ function SetupNativeProject()
100100
filter { "system:windows" }
101101
defines { "WIN32", "_WINDOWS" }
102102

103+
-- For context: https://github.com/premake/premake-core/issues/935
104+
filter {"system:windows", "action:vs*"}
105+
systemversion("latest")
106+
103107
filter {}
104108

105109
if os.istarget("linux") then

0 commit comments

Comments
 (0)