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 ebeaa00 commit a7af8eaCopy full SHA for a7af8ea
utils/build.ps1
@@ -1044,12 +1044,8 @@ function Build-CMakeProject {
1044
}
1045
1046
if ($EnableCaching) {
1047
- if ($UseMSVCCompilers.Contains("C") -Or $UsePinnedCompilers.Contains("C")) {
1048
- TryAdd-KeyValue $Defines CMAKE_C_COMPILER_LAUNCHER sccache
1049
- }
1050
- if ($UseMSVCCompilers.Contains("CXX") -Or $UsePinnedCompilers.Contains("CXX")) {
1051
- TryAdd-KeyValue $Defines CMAKE_CXX_COMPILER_LAUNCHER sccache
1052
+ TryAdd-KeyValue $Defines CMAKE_C_COMPILER_LAUNCHER sccache
+ TryAdd-KeyValue $Defines CMAKE_CXX_COMPILER_LAUNCHER sccache
1053
1054
1055
if ($UseMSVCCompilers.Contains("C")) {
0 commit comments