On Mon, Jan 4, 2010 at 10:48 AM, Michael Wild <them...@gmail.com> wrote:
> 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)
>
> 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.

Thanks for the email, I've checked in fixes for both of your issues
into CMake CVS.  Could you try the FindGTK2.cmake module there (see
link below) and report back?

http://public.kitware.com/cgi-bin/viewcvs.cgi/Modules/FindGTK2.cmake?root=CMake&view=log

Here's the newly created bug report if the changes don't work.
http://public.kitware.com/Bug/view.php?id=10092

-- 
Philip Lowman
_______________________________________________
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