** Description changed: + [Impact] + * People using pkgconfig and standard library location (but -L pointing to different place) + [Test Plan] + * pkg-config --libs libmutter-2 + + cat ../CMakeLists.txt + project(1922417) + cmake_minimum_required(VERSION 3.10) + include(FindPkgConfig QUIET) + pkg_check_modules(mutter-2 REQUIRED) + + + [ Other info ] Hello, Description: Ubuntu 18.04.5 LTS Release: 18.04 cmake: - 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 + 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 https://gitlab.kitware.com/cmake/cmake/-/commit/ac5731a7e380349f19dc319e6c31e189b5faba93 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
** Summary changed: - cmake: FindPkgConfig: imported target missing libraries + [SRU] cmake: FindPkgConfig: imported target missing libraries -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs