================ @@ -1,3 +1,7 @@ +if(EXISTS ${LLVM_MAIN_SRC_DIR}/include/llvm/CodeGen AND CLANG_BUILT_STANDALONE) + add_subdirectory(${LLVM_MAIN_SRC_DIR}/include/llvm/CodeGen llvm/lib/CodeGen) +endif() ---------------- compnerd wrote:
https://github.com/llvm/llvm-project/blob/main/llvm/cmake/modules/CMakeLists.txt#L28-L38 I suspect that you just need to extend that with `vt_gen`. https://github.com/llvm/llvm-project/pull/109601 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits