diff options
Diffstat (limited to '')
| -rw-r--r-- | raylib/src/external/glfw/CMake/modules/FindOSMesa.cmake | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/raylib/src/external/glfw/CMake/modules/FindOSMesa.cmake b/raylib/src/external/glfw/CMake/modules/FindOSMesa.cmake new file mode 100644 index 0000000..3194bd9 --- /dev/null +++ b/raylib/src/external/glfw/CMake/modules/FindOSMesa.cmake | |||
| @@ -0,0 +1,18 @@ | |||
| 1 | # Try to find OSMesa on a Unix system | ||
| 2 | # | ||
| 3 | # This will define: | ||
| 4 | # | ||
| 5 | # OSMESA_LIBRARIES - Link these to use OSMesa | ||
| 6 | # OSMESA_INCLUDE_DIR - Include directory for OSMesa | ||
| 7 | # | ||
| 8 | # Copyright (c) 2014 Brandon Schaefer <brandon.schaefer@canonical.com> | ||
| 9 | |||
| 10 | if (NOT WIN32) | ||
| 11 | |||
| 12 | find_package (PkgConfig) | ||
| 13 | pkg_check_modules (PKG_OSMESA QUIET osmesa) | ||
| 14 | |||
| 15 | set (OSMESA_INCLUDE_DIR ${PKG_OSMESA_INCLUDE_DIRS}) | ||
| 16 | set (OSMESA_LIBRARIES ${PKG_OSMESA_LIBRARIES}) | ||
| 17 | |||
| 18 | endif () | ||
