]> de.git.xonotic.org Git - xonotic/netradiant.git/blob - cmake/FindGtkGLExt.cmake
Merge remote-tracking branch 'illwieckz/exportents'
[xonotic/netradiant.git] / cmake / FindGtkGLExt.cmake
1 include(FindPkgConfig OPTIONAL)
2 if (PKG_CONFIG_FOUND)
3     include(FindPkgConfig)
4     pkg_check_modules(GTK gtk+-2.0)
5     if (XWINDOWS)
6         pkg_check_modules(GTKGL gtkglext-x11-1.0)
7     elseif (WIN32)
8         pkg_check_modules(GTKGL gtkglext-win32-1.0)
9     else ()
10         pkg_check_modules(GTKGL gtkglext-quartz-1.0)
11     endif ()
12 endif ()