[CMake] Unable to find GTK with cmake on Ubuntu

Hendrik Sattler post at hendrik-sattler.de
Thu Dec 18 14:37:02 EST 2008


Am Thursday 18 December 2008 20:03:25 schrieb Philip Lowman:
> Could you try the following beta FindGTK2 module?
>
> Set CMAKE_MODULE_PATH prior to calling FIND_PACKAGE(GTK2 COMPONENTS gtk)
> See the module for details

Some notes: you should make better use of path suffixes in find_file instead 
of repeating standard paths. Additionally, you should prefer the directory of 
the glib library + include/ for finding glibconfig.h.

HS


More information about the CMake mailing list