mirror of
https://github.com/mitch030504/Wiicompiled_VR_Frame.git
synced 2026-10-06 09:00:28 +02:00
Quest: fix Windows game kit export
This commit is contained in:
1 parent
0e52cfb726
commit
bca303caed
2 files changed
+6
-12
No files matched your search
@@ -274,7 +274,7 @@ function Export-QuestGameKit {
|
||||
$ErrorActionPreference = 'Stop'
|
||||
$binary = ConvertTo-ForwardPath $CMakeBinaryDir
|
||||
$cache = [IO.File]::ReadAllText("$binary/CMakeCache.txt")
|
||||
$configuredCpu = [regex]::Match($cache, '(?m)^MKW_ANDROID_CPU(?::[^=\r\n]*)?=([^\r\n]+)$').Groups[1].Value.Trim()
|
||||
$configuredCpu = [regex]::Match($cache, '(?m)^MKW_ANDROID_CPU(?::[^=\r\n]*)?=([^\r\n]+)\r?$').Groups[1].Value.Trim()
|
||||
if ($configuredCpu -ne $AndroidCpu) {
|
||||
throw "CMake tree $binary targets Android CPU '$configuredCpu', expected '$AndroidCpu'"
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user