The target_link_libraries tag is used to add the library dependencies of a specific binary (executable or library) that is built in the package, not the package as a whole.