[CMake] Imported libraries lookup

Sergey Rudchenko sergey.rudchenko at gmail.com
Wed Apr 22 12:02:29 EDT 2009


On Wed, 2009-04-22 at 11:01 -0400, Brad King wrote:
> Don't use GetLinkLibraries.  It's the "old-style" link computation results
> which had some bugs.  If you're computing a set of libraries to specify
> for linking in a project file, use cmComputeLinkInformation:
> 
>    cmComputeLinkInformation* pcli = target.GetLinkInformation(configName);

Thank you, Brad. This works perfectly for me!

Sergey



More information about the CMake mailing list