Installed module library can't find imported headers [Ubuntu 22.04 LTS, CMake 3.28.1, Ninja 1.11.1 and Clang 17.0.6]

I have tested it on CI with ubuntu 22.04 and it works?
see Use setup-cpp to speeup docker build · ClausKlein/cmake-module-error@5d74595 · GitHub

But on my OSX, I get an error.