mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
[build] Add guard for missing arm64 msvc runtime (#8922)
This commit is contained in:
@@ -65,9 +65,12 @@ if (OperatingSystem.current().isWindows()) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
def arm64Folder = null
|
def arm64Folder = null
|
||||||
file("$runtimeLocation\\arm64").eachFile {
|
def arm64Dir = file("$runtimeLocation\\arm64")
|
||||||
if (it.name.endsWith('.CRT')) {
|
if (arm64Dir.exists()) {
|
||||||
arm64Folder = it
|
arm64Dir.eachFile {
|
||||||
|
if (it.name.endsWith('.CRT')) {
|
||||||
|
arm64Folder = it
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user