diff options
author | Eric Kilmer <eric.d.kilmer@gmail.com> | 2023-10-18 12:03:04 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-18 09:03:04 -0700 |
commit | e3ae2a52d2232e3b41caa9cf1197c24130249ddd (patch) | |
tree | 9972673c26411f79c51c10b1345fc1fc6044fb3d /llvm/docs/tutorial/MyFirstLanguageFrontend | |
parent | cba4e7e9e629b50c836ae8dda3ef60985e417180 (diff) | |
download | llvm-e3ae2a52d2232e3b41caa9cf1197c24130249ddd.zip llvm-e3ae2a52d2232e3b41caa9cf1197c24130249ddd.tar.gz llvm-e3ae2a52d2232e3b41caa9cf1197c24130249ddd.tar.bz2 |
[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
Diffstat (limited to 'llvm/docs/tutorial/MyFirstLanguageFrontend')
0 files changed, 0 insertions, 0 deletions