Files
clang-p2996/llvm/cmake/modules/FindTerminfo.cmake
Eric Kilmer e3ae2a52d2 [llvm][CMake] Check dependency cxx source compiles (#68549)
If a CMake project doesn't enable the C language, then the CMake FFI and
Terminfo find modules will fail their checks for compilation and
linking.

This commit allows projects to enable only C++ by first checking if a C
compiler is set before testing C source compilation; if not, it checks
whether C++ compilation succeeds.

Fixes #53950
2023-10-18 09:03:04 -07:00

1.7 KiB