FindQt4.cmake synced with the version from cmake

Thiago Macieira thiago at kde.org
Tue Dec 22 13:39:59 CET 2009


Em Terça-feira 22. Dezembro 2009, às 10.20.59, Mike Arthur escreveu:
> On 22 Dec 2009, at 11:36, Thiago Macieira wrote:
> > Yeah, that's what you said before.
> >
> > But my question is: if I want to link to a given libfoo, how do I know if
> > it should be LIBRARY or LIBRARIES? Do I have to look into the
> > documentation of the module, or is there a convention I can use to guess?
> 
> You don't. This depends on the Find*.cmake module. Preempting your
>  response, I agree this is pretty stupid.
> 
> > What happens if there's a technical change that requires now two
> > libraries (like the Mac case)?
> 
> Well, it'll still work unless you have it quoted, like the above example,
>  because then it will break the list of two libraries into a single library
>  with a space in the path.

Can we then change the convention to use LIBRARIES, always, for all types of 
libraries?

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
  Senior Product Manager - Nokia, Qt Development Frameworks
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/kde-buildsystem/attachments/20091222/c7759bfa/attachment.sig 


More information about the Kde-buildsystem mailing list