mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-22 14:23:10 -05:00
194b74daec
The IBM XL C compiler does not define `__STDC__` when invoked as plain `cc` instead of `xlc`, so `CMAKE_C_STANDARD_COMPUTED_DEFAULT` does not get set and CMake fails. Teach CMake about the XL compiler's default C standard in this case. Fixes: #17649
2.2 KiB
2.2 KiB