================ @@ -22,5 +22,9 @@ add_tablegen(offload-tblgen OFFLOAD RecordTypes.hpp ) +if(TARGET cxx-headers) ---------------- Meinersbur wrote: Could you add a comment for what this dependency is for? https://github.com/llvm/llvm-project/pull/149326