[Bug 1922417] [NEW] cmake: FindPkgConfig: imported target missing libraries

Matwey V. Kornilov 1922417 at bugs.launchpad.net
Sat Apr 3 09:32:46 UTC 2021

Public bug reported:


Description:	Ubuntu 18.04.5 LTS
Release:	18.04

  Installed: 3.10.2-1ubuntu2.18.04.1
  Candidate: 3.10.2-1ubuntu2.18.04.1
  Version table:
 *** 3.10.2-1ubuntu2.18.04.1 500
        500 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages
        100 /var/lib/dpkg/status
     3.10.2-1ubuntu2 500
        500 http://archive.ubuntu.com/ubuntu bionic/main amd64 Packages

I am running 3.10.2 at Bionic Beaver 18.04.5 and suffering from the following known issue: https://gitlab.kitware.com/cmake/cmake/-/issues/17954
Unfortunately, the issue was fixed only in 3.12 and 3.10.2 is still affected.

Can we please have the following patch back-ported for 18.04.5 updates

I've checked that the patch can be applied clearly on top of the 3.10.2,
it is simple and self-consistent, so I don't expect that it will break
something else.

I've also verified that the patch indeed fixes the issue for me. Since
the patch affects only CMake module and don't requires cmake rebuild it
was simple enough.

Attached here is a copy of ac5731a7e380349f19dc319e6c31e189b5faba93

** Affects: cmake (Ubuntu)
     Importance: Undecided
         Status: New

** Patch added: "0001-FindPkgConfig-correct-library-search-path-for-import.patch"

You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to cmake in Ubuntu.

  cmake: FindPkgConfig: imported target missing libraries

To manage notifications about this bug go to:

More information about the kubuntu-bugs mailing list