We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc58457 commit 2b4b621Copy full SHA for 2b4b621
scripts/fix-vs.ps1
@@ -14,8 +14,7 @@ if (-Not (Test-Path $llvmExportsPath)) {
14
}
15
16
# Regex to match typical VS install paths (e.g., C:/Program Files/Microsoft Visual Studio/2022/Enterprise/)
17
-$vsPathPattern = "C:/Program Files/Microsoft Visual Studio/[0-9]+/[A-Za-z]+/"
18
-
+$vsPathPattern = "C:[\\/]Program Files[\\/]Microsoft Visual Studio[\\/]([0-9]+)[\\/]([A-Za-z]+)[\\/]"
19
# Read the contents of the LLVMExports.cmake file
20
$fileContent = Get-Content -Path $llvmExportsPath -Raw
21
0 commit comments