Merge topic 'hint-about-missing-extension-on-windows'

186673ba0b cmGlobalGenerator: hint about missing extensions on Windows

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !8914
This commit is contained in:
Brad King
2023-10-26 13:42:19 +00:00
committed by Kitware Robot
10 changed files with 29 additions and 13 deletions
+5 -1
View File
@@ -874,7 +874,11 @@ void cmGlobalGenerator::EnableLanguage(
noCompiler <<
"The " << compilerName << ":\n"
" " << *compilerFile << "\n"
"is not a full path and was not found in the PATH.\n"
"is not a full path and was not found in the PATH."
#ifdef _WIN32
" Perhaps the extension is missing?"
#endif
"\n"
;
/* clang-format on */
} else if (!cmSystemTools::FileExists(*compilerFile)) {