Skip to content

CompilerId: Restore support for classic C by avoiding C++ style comments

Brad King requested to merge brad.king/cmake:compiler-id-classic-c into master

C++ style comments were added by !6177 (merged), but they may not be supported by the default mode of some C compilers. Use C-style comments instead. For consistency, do this for all languages.

Fixes: #22942 (closed)
Backport: release

Merge request reports