Branimir Karadžić 8 лет назад
Родитель
Сommit
aa1888a979
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      scripts/toolchain.lua

+ 1 - 1
scripts/toolchain.lua

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