aboutsummaryrefslogtreecommitdiff
path: root/raylib/src/external/glfw/CMake/modules/FindOSMesa.cmake
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano@tronto.net>2025-04-21 11:09:56 +0200
committerSebastiano Tronto <sebastiano@tronto.net>2025-04-21 11:09:56 +0200
commit123144c93bfc77883c8fb517828b47bbe13b8671 (patch)
tree762739afedb5f3f168051367515cb9b9a06ec68d /raylib/src/external/glfw/CMake/modules/FindOSMesa.cmake
downloadminesweeper-master.tar.gz
minesweeper-master.zip
Initial commitHEADmaster
Diffstat (limited to 'raylib/src/external/glfw/CMake/modules/FindOSMesa.cmake')
-rw-r--r--raylib/src/external/glfw/CMake/modules/FindOSMesa.cmake18
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
10if (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
18endif ()

Generated with cgit - Back to sebastiano.tronto.net