[Bug 1922417] Re: [SRU] cmake: FindPkgConfig: imported target missing libraries

Gianfranco Costamagna 1922417 at bugs.launchpad.net
Thu Apr 8 18:51:34 UTC 2021


Hello Robie, the cmake if I understand correctly checks the list of libraries returned from pkg-config call, and adds them only if found on the system.
The problem is that if the pkgconfig call has a -L *but* libraries listed somewhere else (e.g. in standard ld.so.conf path), the call strips them from the list.

So, in this case you get a subset of libraries returned to cmake, and
with this patch, the list of libraries will increase (not decrease).
With a default as-needed flag turned on, the side effect will be to have
them ignored in such cases, nothing to worry about.

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to cmake in Ubuntu.
https://bugs.launchpad.net/bugs/1922417

Title:
  [SRU] cmake: FindPkgConfig: imported target missing libraries

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cmake/+bug/1922417/+subscriptions




More information about the kubuntu-bugs mailing list