вт, 4 дек. 2018 г. в 10:13, Stéphane Ancelot <[hidden email]>:
> I made an exported package for a library that needs linking qt5.
> find_package() works to find my library , however, I don't know how to
> handle the linking of external libs needed by this package.
> I suppose that must be managed inside the exported package, by which way ?
I use the following way
set_target_properties(<your exported target> PROPERTIES
INTERFACE_LINK_LIBRARIES <library required to link with your target>)