Skip to content

Commit 6ca7ed6

Browse files
Drop workaround for FindFirstFileExA issue with CMake pre-3.26.3
1 parent 2bcb1a7 commit 6ca7ed6

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

utils/build.ps1

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1091,11 +1091,6 @@ function Build-CMakeProject {
10911091
}
10921092
TryAdd-KeyValue $Defines CMAKE_C_COMPILER_TARGET $Arch.LLVMTarget
10931093

1094-
if (-not (Test-CMakeAtLeast -Major 3 -Minor 26 -Patch 3) -and $Platform -eq [Platform]::Windows) {
1095-
# Workaround for https://github.com/ninja-build/ninja/issues/2280
1096-
TryAdd-KeyValue $Defines CMAKE_CL_SHOWINCLUDES_PREFIX "Note: including file: "
1097-
}
1098-
10991094
if ($DebugInfo -and $CDebugFormat -eq "dwarf") {
11001095
Append-FlagsDefine $Defines CMAKE_C_FLAGS "-gdwarf"
11011096
}
@@ -1110,11 +1105,6 @@ function Build-CMakeProject {
11101105
}
11111106
TryAdd-KeyValue $Defines CMAKE_CXX_COMPILER_TARGET $Arch.LLVMTarget
11121107

1113-
if (-not (Test-CMakeAtLeast -Major 3 -Minor 26 -Patch 3) -and $Platform -eq [Platform]::Windows) {
1114-
# Workaround for https://github.com/ninja-build/ninja/issues/2280
1115-
TryAdd-KeyValue $Defines CMAKE_CL_SHOWINCLUDES_PREFIX "Note: including file: "
1116-
}
1117-
11181108
if ($DebugInfo -and $CDebugFormat -eq "dwarf") {
11191109
Append-FlagsDefine $Defines CMAKE_CXX_FLAGS "-gdwarf"
11201110
}

0 commit comments

Comments
 (0)