This is a buggy assumption on the part of cmake. The standard interface
that glib provides for consumers to query its library paths and cflags
is pkg-config. On natty:
$ pkg-config --cflags glib-2.0
-I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include
$
cmake should use pkg-config in FindGTK2.cmake. If there's a need to
search additional paths, this should be done by permuting the *pkg-
config* search path, using the PKG_CONFIG_PATH env var.
** Package changed: glib2.0 (Ubuntu) => cmake (Ubuntu)
** Changed in: cmake (Ubuntu)
Importance: Undecided => Medium
** Changed in: cmake (Ubuntu)
Status: New => Triaged
--
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to glib2.0 in Ubuntu.
https://bugs.launchpad.net/bugs/751940
Title:
Problems with cmake in Ubuntu Ubuntu >= 11.04 (Natty Narwhal)
--
desktop-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs