forked from OSchip/llvm-project
6f4f0afaa8
The previous check was wrong because it only checks that the LLVM CMake
directory exists. However, it's possible that the directory exists but
the `LLVMConfig.cmake` file does not. When this happens we would
incorectly try to include the non-existant file.
To fix this we make the check stricter by checking that the file
we want to include actually exists.
This is a follow up to
|
||
---|---|---|
.. | ||
CustomLibcxx | ||
AddCompilerRT.cmake | ||
BuiltinTests.cmake | ||
CompilerRTCompile.cmake | ||
CompilerRTDarwinUtils.cmake | ||
CompilerRTLink.cmake | ||
CompilerRTMockLLVMCMakeConfig.cmake | ||
CompilerRTUtils.cmake | ||
HandleCompilerRT.cmake | ||
SanitizerUtils.cmake | ||
UseLibtool.cmake |