I have plenty of this CMake syntax in my project:
target_link_libraries(<target>
<LINK_PRIVATE|LINK_PUBLIC> <lib>...
[<LINK_PRIVATE|LINK_PUBLIC> <lib>...]...)
And I read in their documentation, that it is Legacy (say deprecated) since the policy CMP0022.
However, I'm not able to find the replacement syntax.
I just understood it should be something impacting INTERFACE_LINK_LIBRARIES and LINK_INTERFACE_LIBRARIES.