parent
9e952fbf18
commit
0e9bf6a257
|
@ -689,7 +689,12 @@ foreach(_GTK2_component ${GTK2_FIND_COMPONENTS})
|
||||||
_GTK2_FIND_INCLUDE_DIR(GDK gdk/gdk.h)
|
_GTK2_FIND_INCLUDE_DIR(GDK gdk/gdk.h)
|
||||||
_GTK2_FIND_INCLUDE_DIR(GDKCONFIG gdkconfig.h)
|
_GTK2_FIND_INCLUDE_DIR(GDKCONFIG gdkconfig.h)
|
||||||
if(UNIX)
|
if(UNIX)
|
||||||
_GTK2_FIND_LIBRARY (GDK gdk-x11 false true)
|
if(APPLE)
|
||||||
|
_GTK2_FIND_LIBRARY (GDK gdk-quartz false true)
|
||||||
|
endif()
|
||||||
|
if(NOT GTK2_GDK_FOUND)
|
||||||
|
_GTK2_FIND_LIBRARY (GDK gdk-x11 false true)
|
||||||
|
endif()
|
||||||
else()
|
else()
|
||||||
_GTK2_FIND_LIBRARY (GDK gdk-win32 false true)
|
_GTK2_FIND_LIBRARY (GDK gdk-win32 false true)
|
||||||
endif()
|
endif()
|
||||||
|
@ -698,7 +703,12 @@ foreach(_GTK2_component ${GTK2_FIND_COMPONENTS})
|
||||||
|
|
||||||
_GTK2_FIND_INCLUDE_DIR(GTK gtk/gtk.h)
|
_GTK2_FIND_INCLUDE_DIR(GTK gtk/gtk.h)
|
||||||
if(UNIX)
|
if(UNIX)
|
||||||
_GTK2_FIND_LIBRARY (GTK gtk-x11 false true)
|
if(APPLE)
|
||||||
|
_GTK2_FIND_LIBRARY (GTK gtk-quartz false true)
|
||||||
|
endif()
|
||||||
|
if(NOT GTK2_GTK_FOUND)
|
||||||
|
_GTK2_FIND_LIBRARY (GTK gtk-x11 false true)
|
||||||
|
endif()
|
||||||
else()
|
else()
|
||||||
_GTK2_FIND_LIBRARY (GTK gtk-win32 false true)
|
_GTK2_FIND_LIBRARY (GTK gtk-win32 false true)
|
||||||
endif()
|
endif()
|
||||||
|
|
Loading…
Reference in New Issue