[Bug 1563548] [NEW] CMake 3.5's pkg-config support broken
MichaĆ Sawicz
michal.sawicz at canonical.com
Tue Mar 29 20:58:11 UTC 2016
Public bug reported:
With the new cmake 3.5 version in xenial, pkg-config variables seem
broken.
Given the following CMakeLists.txt:
cmake_minimum_required(VERSION 3.2)
include(FindPkgConfig)
pkg_check_modules(GLIB2 glib-2.0)
Comparing output from:
$ cmake .; grep ^GLIB2 CMakeCache.txt
Yields the _INCLUDEDIR, _LIBDIR and _PREFIX variables empty:
http://pastebin.ubuntu.com/15555106/
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: cmake 3.5.0-1ubuntu1
ProcVersionSignature: Ubuntu 4.4.0-15.31-generic 4.4.6
Uname: Linux 4.4.0-15-generic x86_64
ApportVersion: 2.20-0ubuntu3
Architecture: amd64
CurrentDesktop: Unity
Date: Tue Mar 29 22:47:54 2016
SourcePackage: cmake
UpgradeStatus: No upgrade log present (probably fresh install)
** Affects: cmake (Ubuntu)
Importance: High
Assignee: LocutusOfBorg (costamagnagianfranco)
Status: New
** Tags: amd64 apport-bug xenial
** Description changed:
- With the cmake version currently in proposed, pkg-config variables seem
+ With the new cmake 3.5 version in xenial, pkg-config variables seem
broken.
Given the following CMakeLists.txt:
cmake_minimum_required(VERSION 3.2)
include(FindPkgConfig)
pkg_check_modules(GLIB2 glib-2.0)
Comparing output from:
$ cmake .; grep ^GLIB2 CMakeCache.txt
Yields the _INCLUDEDIR, _LIBDIR and _PREFIX variables empty:
http://pastebin.ubuntu.com/15555106/
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: cmake 3.5.0-1ubuntu1
ProcVersionSignature: Ubuntu 4.4.0-15.31-generic 4.4.6
Uname: Linux 4.4.0-15-generic x86_64
ApportVersion: 2.20-0ubuntu3
Architecture: amd64
CurrentDesktop: Unity
Date: Tue Mar 29 22:47:54 2016
SourcePackage: cmake
UpgradeStatus: No upgrade log present (probably fresh install)
--
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/1563548
Title:
CMake 3.5's pkg-config support broken
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cmake/+bug/1563548/+subscriptions
More information about the kubuntu-bugs
mailing list