[clang] RFC: [cmake] Export CLANG_RESOURCE_DIR in ClangConfig (PR #97197)

Kim Gräsman via cfe-commits cfe-commits at lists.llvm.org
Mon Jul 15 11:21:51 PDT 2024


kimgr wrote:

> The LLVM_EXTERNAL_PROJECT mode solution using $<TARGET_FILE:clang> won't work so well,
> as it pins the resource directory to the build tree. So it won't resolve correctly after install, I suppose.

Ah, in that mode I guess we could use the default behavior, and not override the resource dir.

https://github.com/llvm/llvm-project/pull/97197


More information about the cfe-commits mailing list