Fixed issue #149.

This commit is contained in:
Branimir Karadžić
2017-04-18 19:45:58 -07:00
parent cedd5b5a59
commit aa1888a979

View File

@@ -179,7 +179,7 @@ function toolchain(_buildDir, _libDir)
tvosPlatform = _OPTIONS["with-tvos"]
end
local windowsPlatform = os.getenv("WindowsSDKVersion") or "8.1"
local windowsPlatform = string.gsub(os.getenv("WindowsSDKVersion") or "8.1", "\\", "")
if _OPTIONS["with-windows"] then
windowsPlatform = _OPTIONS["with-windows"]
end