We're now a non-profit! Support open source packet analysis by making a donation.

Wireshark-dev: Re: [Wireshark-dev] FindGTK2.cmake /trunk/: CMakeLists.txt

From: Stig Bjørlykke <[email protected]>
Date: Sun, 7 Mar 2010 22:42:46 +0100
On 7. mars 2010, at 22.36, Joerg Mayer wrote:

> So which other change do we need to make this work on  OS X?

It works for me with this patch, but I haven't tested on other platforms yet.

Index: cmake/modules/FindGTK2.cmake
--- cmake/modules/FindGTK2.cmake	(revision 32139)
+++ cmake/modules/FindGTK2.cmake	(working copy)
@@ -419,9 +419,8 @@
         _GTK2_FIND_LIBRARY    (GTK2_ATK_LIBRARY atk false true)
-        #elseif(_GTK2_component STREQUAL "gdk_pixbuf")
-        #_GTK2_FIND_INCLUDE_DIR(GTK2_GDKPIXBUF_INCLUDE_DIR gdk-pixbuf/gdk-pixbuf.h)
-        #_GTK2_FIND_LIBRARY    (GTK2_GDKPIXBUF_LIBRARY gdk_pixbuf false true)
+        _GTK2_FIND_INCLUDE_DIR(GTK2_GDKPIXBUF_INCLUDE_DIR gdk-pixbuf/gdk-pixbuf.h)
+        _GTK2_FIND_LIBRARY    (GTK2_GDKPIXBUF_LIBRARY gdk_pixbuf false true)
     elseif(_GTK2_component STREQUAL "gtkmm")

Stig Bjørlykke