[cmake-developers] Policy for INTERFACE_LINK_LIBRARIES

Brad King brad.king at kitware.com
Thu Nov 29 14:38:22 EST 2012


On 11/29/2012 02:24 PM, Stephen Kelly wrote:
> And for the usecase of 'foo doesn't link to bar, but if using foo you need 
> bar', is
> 
>  target_link_libraries(foo INTERFACE bar)

Yes.  This will populate only the new name.

-Brad



More information about the cmake-developers mailing list