How to include non-interface library to interface library?

I just have a project P, libary A and header-only library B. P uses A and B and I also need to make B using A. When I use target_link_libraries it says that A also need to be INTERFACE :smile: :cow: :sunflower:

shouldn’t something like target_link_libraries(B INTERFACE A) work?

my ide just have not indexed lib… failure