Skip to content
Unverified Commit e3ae2a52 authored by Eric Kilmer's avatar Eric Kilmer Committed by GitHub
Browse files

[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
parent cba4e7e9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment