summaryrefslogtreecommitdiff
path: root/libs/raylib/src/external/glfw/CMake/modules
diff options
context:
space:
mode:
authorLucaSas <sas.luca.alex@gmail.com>2021-11-04 16:14:58 +0200
committerLucaSas <sas.luca.alex@gmail.com>2021-11-04 16:14:58 +0200
commitd96b4ebce5ee6245fa80d27d41b67aa56555c912 (patch)
treef28cb388a14c4bd9da8f4b57b213eb1539fc5367 /libs/raylib/src/external/glfw/CMake/modules
parent6bcb1207addb4afe041c94e68e23c77175164956 (diff)
downloadgamejam-slgj-2024-d96b4ebce5ee6245fa80d27d41b67aa56555c912.tar.gz
gamejam-slgj-2024-d96b4ebce5ee6245fa80d27d41b67aa56555c912.tar.bz2
gamejam-slgj-2024-d96b4ebce5ee6245fa80d27d41b67aa56555c912.zip
Changed the template to now download raylib instead of having it in the repo.
Diffstat (limited to 'libs/raylib/src/external/glfw/CMake/modules')
-rw-r--r--libs/raylib/src/external/glfw/CMake/modules/FindEpollShim.cmake17
-rw-r--r--libs/raylib/src/external/glfw/CMake/modules/FindOSMesa.cmake18
-rw-r--r--libs/raylib/src/external/glfw/CMake/modules/FindWaylandProtocols.cmake26
-rw-r--r--libs/raylib/src/external/glfw/CMake/modules/FindXKBCommon.cmake34
4 files changed, 0 insertions, 95 deletions
diff --git a/libs/raylib/src/external/glfw/CMake/modules/FindEpollShim.cmake b/libs/raylib/src/external/glfw/CMake/modules/FindEpollShim.cmake
deleted file mode 100644
index 2facb41..0000000
--- a/libs/raylib/src/external/glfw/CMake/modules/FindEpollShim.cmake
+++ /dev/null
@@ -1,17 +0,0 @@
-# Find EpollShim
-# Once done, this will define
-#
-# EPOLLSHIM_FOUND - System has EpollShim
-# EPOLLSHIM_INCLUDE_DIRS - The EpollShim include directories
-# EPOLLSHIM_LIBRARIES - The libraries needed to use EpollShim
-
-find_path(EPOLLSHIM_INCLUDE_DIRS NAMES sys/epoll.h sys/timerfd.h HINTS /usr/local/include/libepoll-shim)
-find_library(EPOLLSHIM_LIBRARIES NAMES epoll-shim libepoll-shim HINTS /usr/local/lib)
-
-if (EPOLLSHIM_INCLUDE_DIRS AND EPOLLSHIM_LIBRARIES)
- set(EPOLLSHIM_FOUND TRUE)
-endif (EPOLLSHIM_INCLUDE_DIRS AND EPOLLSHIM_LIBRARIES)
-
-include(FindPackageHandleStandardArgs)
-find_package_handle_standard_args(EPOLLSHIM DEFAULT_MSG EPOLLSHIM_LIBRARIES EPOLLSHIM_INCLUDE_DIRS)
-mark_as_advanced(EPOLLSHIM_INCLUDE_DIRS EPOLLSHIM_LIBRARIES)
diff --git a/libs/raylib/src/external/glfw/CMake/modules/FindOSMesa.cmake b/libs/raylib/src/external/glfw/CMake/modules/FindOSMesa.cmake
deleted file mode 100644
index 3194bd9..0000000
--- a/libs/raylib/src/external/glfw/CMake/modules/FindOSMesa.cmake
+++ /dev/null
@@ -1,18 +0,0 @@
-# Try to find OSMesa on a Unix system
-#
-# This will define:
-#
-# OSMESA_LIBRARIES - Link these to use OSMesa
-# OSMESA_INCLUDE_DIR - Include directory for OSMesa
-#
-# Copyright (c) 2014 Brandon Schaefer <brandon.schaefer@canonical.com>
-
-if (NOT WIN32)
-
- find_package (PkgConfig)
- pkg_check_modules (PKG_OSMESA QUIET osmesa)
-
- set (OSMESA_INCLUDE_DIR ${PKG_OSMESA_INCLUDE_DIRS})
- set (OSMESA_LIBRARIES ${PKG_OSMESA_LIBRARIES})
-
-endif ()
diff --git a/libs/raylib/src/external/glfw/CMake/modules/FindWaylandProtocols.cmake b/libs/raylib/src/external/glfw/CMake/modules/FindWaylandProtocols.cmake
deleted file mode 100644
index 8eb83f2..0000000
--- a/libs/raylib/src/external/glfw/CMake/modules/FindWaylandProtocols.cmake
+++ /dev/null
@@ -1,26 +0,0 @@
-find_package(PkgConfig)
-
-pkg_check_modules(WaylandProtocols QUIET wayland-protocols>=${WaylandProtocols_FIND_VERSION})
-
-execute_process(COMMAND ${PKG_CONFIG_EXECUTABLE} --variable=pkgdatadir wayland-protocols
- OUTPUT_VARIABLE WaylandProtocols_PKGDATADIR
- RESULT_VARIABLE _pkgconfig_failed)
-if (_pkgconfig_failed)
- message(FATAL_ERROR "Missing wayland-protocols pkgdatadir")
-endif()
-
-string(REGEX REPLACE "[\r\n]" "" WaylandProtocols_PKGDATADIR "${WaylandProtocols_PKGDATADIR}")
-
-find_package_handle_standard_args(WaylandProtocols
- FOUND_VAR
- WaylandProtocols_FOUND
- REQUIRED_VARS
- WaylandProtocols_PKGDATADIR
- VERSION_VAR
- WaylandProtocols_VERSION
- HANDLE_COMPONENTS
-)
-
-set(WAYLAND_PROTOCOLS_FOUND ${WaylandProtocols_FOUND})
-set(WAYLAND_PROTOCOLS_PKGDATADIR ${WaylandProtocols_PKGDATADIR})
-set(WAYLAND_PROTOCOLS_VERSION ${WaylandProtocols_VERSION})
diff --git a/libs/raylib/src/external/glfw/CMake/modules/FindXKBCommon.cmake b/libs/raylib/src/external/glfw/CMake/modules/FindXKBCommon.cmake
deleted file mode 100644
index 0f571ee..0000000
--- a/libs/raylib/src/external/glfw/CMake/modules/FindXKBCommon.cmake
+++ /dev/null
@@ -1,34 +0,0 @@
-# - Try to find XKBCommon
-# Once done, this will define
-#
-# XKBCOMMON_FOUND - System has XKBCommon
-# XKBCOMMON_INCLUDE_DIRS - The XKBCommon include directories
-# XKBCOMMON_LIBRARIES - The libraries needed to use XKBCommon
-# XKBCOMMON_DEFINITIONS - Compiler switches required for using XKBCommon
-
-find_package(PkgConfig)
-pkg_check_modules(PC_XKBCOMMON QUIET xkbcommon)
-set(XKBCOMMON_DEFINITIONS ${PC_XKBCOMMON_CFLAGS_OTHER})
-
-find_path(XKBCOMMON_INCLUDE_DIR
- NAMES xkbcommon/xkbcommon.h
- HINTS ${PC_XKBCOMMON_INCLUDE_DIR} ${PC_XKBCOMMON_INCLUDE_DIRS}
-)
-
-find_library(XKBCOMMON_LIBRARY
- NAMES xkbcommon
- HINTS ${PC_XKBCOMMON_LIBRARY} ${PC_XKBCOMMON_LIBRARY_DIRS}
-)
-
-set(XKBCOMMON_LIBRARIES ${XKBCOMMON_LIBRARY})
-set(XKBCOMMON_LIBRARY_DIRS ${XKBCOMMON_LIBRARY_DIRS})
-set(XKBCOMMON_INCLUDE_DIRS ${XKBCOMMON_INCLUDE_DIR})
-
-include(FindPackageHandleStandardArgs)
-find_package_handle_standard_args(XKBCommon DEFAULT_MSG
- XKBCOMMON_LIBRARY
- XKBCOMMON_INCLUDE_DIR
-)
-
-mark_as_advanced(XKBCOMMON_LIBRARY XKBCOMMON_INCLUDE_DIR)
-