https://github.com/tru approved this pull request. In general LGTM. I think we need to make sure that generator expression is evaluated correctly on CMake 3.20. Maybe a comment in the code could be good. https://github.com/llvm/llvm-project/pull/65634