[clang] [Clang] Include LLVM CodeGen CMake file (PR #109601)
Saleem Abdulrasool via cfe-commits
cfe-commits at lists.llvm.org
Mon Sep 23 11:28:27 PDT 2024
================
@@ -1,3 +1,7 @@
+if(EXISTS ${LLVM_MAIN_SRC_DIR}/include/llvm/CodeGen AND CLANG_BUILT_STANDALONE)
----------------
compnerd wrote:
I think that I would rather have the cases mirrored here - the path should always exist in general, it is only the standalone case that is special.
```suggestion
if(CLANG_BUILT_STANDALONE AND EXISTS ${LLVM_MAIN_SRC_DIR}/include/llvm/CodeGen)
```
https://github.com/llvm/llvm-project/pull/109601
More information about the cfe-commits
mailing list