[CMake] Private dependencies of static libraries exported as targets

Ivan Shapovalov intelfx at intelfx.name
Fri Aug 19 08:06:32 EDT 2016


That's very nice; thanks!

-- 
Ivan Shapovalov / intelfx /

On 2016-08-18 at 15:29 +0200, Tamás Kenéz wrote:
> Ivan,
> 
> > 
> > But, if library `foo` is built as static, then its clients suddenly
> > become required to link to `bar` as well, and this information is
> > not
> > recorded anywhere!
> 
> I changed the cmake_minimum_required version in your projects from
> 2.8 to
> 3.0 which fixed the issue.
> (I tried it with cmake 3.6.1)
> 
> Tamas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <http://public.kitware.com/pipermail/cmake/attachments/20160819/7820cffd/attachment-0001.sig>


More information about the CMake mailing list