• Brad King's avatar
    XL: Fix C default level detection when invoked as 'cc' · 194b74da
    Brad King authored
    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
CMakeCCompilerId.c.in 2.16 KB