On 8. Jan, 2009, at 9:54 , Philip Lowman wrote:

> If you use GTK2 in any of your projects and have time, please test this
> CMake module and post any issues to this thread.  I intend to check it into
> CMake and support it.
> 
> Tested systems:
> ====
> Ubuntu 8.10
> Windows/MSVC (official gtkmm installer)
> 
> -- 
> Philip Lowman
> <FindGTK2.cmake>_______________________________________________
> CMake mailing list
> CMake@cmake.org
> http://www.cmake.org/mailman/listinfo/cmake

A year late to the party, but here my problems (using cmake-2.8-0):

1. FindGTK2.cmake doesn't find the GLib-2/GTK+-2 headers installed by fink on 
Mac OS X. Adding /sw/include and /sw/lib to the PATHS list of the find_path 
call solves this for me.

2. The second thing is, that on Mac you also need to explicitly link agains 
gobject, so adding the call

_GTK2_FIND_LIBRARY    (GTK2_GOBJECT_LIBRARY gobject false true)

just after the one for glib solves that problem for me.

HTH

Michael
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to