File tree Expand file tree Collapse file tree 1 file changed +0
-12
lines changed Expand file tree Collapse file tree 1 file changed +0
-12
lines changed Original file line number Diff line number Diff line change @@ -1520,12 +1520,6 @@ function Build-CMakeProject {
1520
1520
}
1521
1521
1522
1522
if ($UseC ) {
1523
- $CC = if ($UseBuiltCompilers.Contains (" C" )) {
1524
- [IO.Path ]::Combine((Get-ProjectBinaryCache $BuildPlatform Compilers), " bin" , " clang.exe" )
1525
- } else {
1526
- Join-Path - Path $AndroidPrebuiltRoot - ChildPath " bin\clang.exe"
1527
- }
1528
- Add-KeyValueIfNew $Defines CMAKE_C_COMPILER $CC
1529
1523
Add-KeyValueIfNew $Defines CMAKE_C_COMPILER_TARGET $Platform.Triple
1530
1524
# FIXME(compnerd) why is this needed?
1531
1525
Add-KeyValueIfNew $Defines CMAKE_C_COMPILER_WORKS YES
@@ -1538,12 +1532,6 @@ function Build-CMakeProject {
1538
1532
}
1539
1533
1540
1534
if ($UseCXX ) {
1541
- $CXX = if ($UseBuiltCompilers.Contains (" CXX" )) {
1542
- [IO.Path ]::Combine((Get-ProjectBinaryCache $BuildPlatform Compilers), " bin" , " clang++.exe" )
1543
- } else {
1544
- Join-Path - Path $AndroidPrebuiltRoot - ChildPath " bin\clang++.exe"
1545
- }
1546
- Add-KeyValueIfNew $Defines CMAKE_CXX_COMPILER $CXX
1547
1535
Add-KeyValueIfNew $Defines CMAKE_CXX_COMPILER_TARGET $Platform.Triple
1548
1536
# FIXME(compnerd) why is this needed?
1549
1537
Add-KeyValueIfNew $Defines CMAKE_CXX_COMPILER_WORKS YES
You can’t perform that action at this time.
0 commit comments