Skip to content

Commit fee1137

Browse files
fixup! Change compiler notation in Build-CMakeProject
1 parent f7224c7 commit fee1137

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils/build.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1129,7 +1129,7 @@ function Build-CMakeProject {
11291129
}
11301130
if ($UseCXXCompiler -in @([Compiler]::Pinned, [Compiler]::Built)) {
11311131
$Driver = (Get-ClangDriverName $Platform -Lang "CXX")
1132-
TryAdd-KeyValue $Defines CMAKE_C_COMPILER (Get-ToolchainTool -Compiler $UseCXXCompiler -Name $Driver)
1132+
TryAdd-KeyValue $Defines CMAKE_CXX_COMPILER (Get-ToolchainTool -Compiler $UseCXXCompiler -Name $Driver)
11331133
TryAdd-KeyValue $Defines CMAKE_CXX_COMPILER_TARGET $Arch.LLVMTarget
11341134

11351135
if ($DebugInfo -and $CDebugFormat -eq "dwarf") {

0 commit comments

Comments
 (0)