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 Ubuntu Bugs, which is subscribed to 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 -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
