Closed
Description
In IWYU's build, we guess Clang's resource dir based on the CMAKE_PREFIX_PATH
, so we can collect the builtin/resource headers for our own build tree. Unfotunately, depending on packaging/platform, the path to the resource dir varies quite a bit.
Is there any chance to expose something like CLANG_RESOURCE_DIR
in ClangConfig.cmake
?
It's not fully clear to me what the layering looks like there, but it feels like it should be possible.
Thanks!