mgorny wrote: That's not the correct solution. You either need to export these variables from LLVM (implying renaming them to prefix with LLVM namespace), or issue another `find_package()` in clang standalone block. https://github.com/llvm/llvm-project/pull/146042