efc7ecc69e
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=67
23 lines
971 B
Diff
23 lines
971 B
Diff
Index: cmake-2.8.2/Modules/FindGTK2.cmake
|
|
===================================================================
|
|
--- cmake-2.8.2.orig/Modules/FindGTK2.cmake
|
|
+++ cmake-2.8.2/Modules/FindGTK2.cmake
|
|
@@ -138,6 +138,7 @@ function(_GTK2_FIND_INCLUDE_DIR _var _hd
|
|
atkmm-1.6
|
|
cairo
|
|
cairomm-1.0
|
|
+ gdk-pixbuf-2.0
|
|
gdkmm-2.4
|
|
giomm-2.4
|
|
gtk-2.0
|
|
@@ -399,6 +400,9 @@ foreach(_GTK2_component ${GTK2_FIND_COMP
|
|
_GTK2_FIND_INCLUDE_DIR(GTK2_GOBJECT_INCLUDE_DIR gobject/gobject.h)
|
|
_GTK2_FIND_LIBRARY (GTK2_GOBJECT_LIBRARY gobject false true)
|
|
|
|
+ _GTK2_FIND_INCLUDE_DIR(GTK2_GDK_PIXBUF_INCLUDE_DIR gdk-pixbuf/gdk-pixbuf.h)
|
|
+ _GTK2_FIND_LIBRARY (GTK2_GDK_PIXBUF_LIBRARY gdk_pixbuf false true)
|
|
+
|
|
_GTK2_FIND_INCLUDE_DIR(GTK2_GDK_INCLUDE_DIR gdk/gdk.h)
|
|
_GTK2_FIND_INCLUDE_DIR(GTK2_GDKCONFIG_INCLUDE_DIR gdkconfig.h)
|
|
_GTK2_FIND_LIBRARY (GTK2_GDK_LIBRARY gdk-x11 false true)
|