diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2025-04-21 11:09:56 +0200 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2025-04-21 11:09:56 +0200 |
| commit | 123144c93bfc77883c8fb517828b47bbe13b8671 (patch) | |
| tree | 762739afedb5f3f168051367515cb9b9a06ec68d /raylib/src/external/glfw/CMake/modules/FindEpollShim.cmake | |
| download | minesweeper-master.tar.gz minesweeper-master.zip | |
Diffstat (limited to 'raylib/src/external/glfw/CMake/modules/FindEpollShim.cmake')
| -rw-r--r-- | raylib/src/external/glfw/CMake/modules/FindEpollShim.cmake | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/raylib/src/external/glfw/CMake/modules/FindEpollShim.cmake b/raylib/src/external/glfw/CMake/modules/FindEpollShim.cmake new file mode 100644 index 0000000..f34d070 --- /dev/null +++ b/raylib/src/external/glfw/CMake/modules/FindEpollShim.cmake | |||
| @@ -0,0 +1,17 @@ | |||
| 1 | # Find EpollShim | ||
| 2 | # Once done, this will define | ||
| 3 | # | ||
| 4 | # EPOLLSHIM_FOUND - System has EpollShim | ||
| 5 | # EPOLLSHIM_INCLUDE_DIRS - The EpollShim include directories | ||
| 6 | # EPOLLSHIM_LIBRARIES - The libraries needed to use EpollShim | ||
| 7 | |||
| 8 | find_path(EPOLLSHIM_INCLUDE_DIRS NAMES sys/epoll.h sys/timerfd.h HINTS /usr/local/include/libepoll-shim) | ||
| 9 | find_library(EPOLLSHIM_LIBRARIES NAMES epoll-shim libepoll-shim HINTS /usr/local/lib) | ||
| 10 | |||
| 11 | if (EPOLLSHIM_INCLUDE_DIRS AND EPOLLSHIM_LIBRARIES) | ||
| 12 | set(EPOLLSHIM_FOUND TRUE) | ||
| 13 | endif (EPOLLSHIM_INCLUDE_DIRS AND EPOLLSHIM_LIBRARIES) | ||
| 14 | |||
| 15 | include(FindPackageHandleStandardArgs) | ||
| 16 | find_package_handle_standard_args(EpollShim DEFAULT_MSG EPOLLSHIM_LIBRARIES EPOLLSHIM_INCLUDE_DIRS) | ||
| 17 | mark_as_advanced(EPOLLSHIM_INCLUDE_DIRS EPOLLSHIM_LIBRARIES) | ||
