ScrapExplorer - FindEpollShim.cmake
Home / ext / glfw / CMake / modules Lines: 1 | Size: 747 bytes [Download] [Show on GitHub] [Search similar files] [Raw] [Raw (proxy)][FILE BEGIN]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 8find_path(EPOLLSHIM_INCLUDE_DIRS NAMES sys/epoll.h sys/timerfd.h HINTS /usr/local/include/libepoll-shim) 9find_library(EPOLLSHIM_LIBRARIES NAMES epoll-shim libepoll-shim HINTS /usr/local/lib) 10 11if (EPOLLSHIM_INCLUDE_DIRS AND EPOLLSHIM_LIBRARIES) 12 set(EPOLLSHIM_FOUND TRUE) 13endif (EPOLLSHIM_INCLUDE_DIRS AND EPOLLSHIM_LIBRARIES) 14 15include(FindPackageHandleStandardArgs) 16find_package_handle_standard_args(EpollShim DEFAULT_MSG EPOLLSHIM_LIBRARIES EPOLLSHIM_INCLUDE_DIRS) 17mark_as_advanced(EPOLLSHIM_INCLUDE_DIRS EPOLLSHIM_LIBRARIES) 18[FILE END](C) 2025 0x4248 (C) 2025 4248 Media and 4248 Systems, All part of 0x4248 See LICENCE files for more information. Not all files are by 0x4248 always check Licencing.