Include epoll-shim library (#3312)

This commit is contained in:
Marcin Mikołajczyk 2025-07-25 15:53:46 +02:00 committed by GitHub
parent d46792da94
commit 923c5f3ef5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 10 additions and 1 deletions

3
.gitmodules vendored
View File

@ -106,3 +106,6 @@
[submodule "externals/ext-libusb"] [submodule "externals/ext-libusb"]
path = externals/ext-libusb path = externals/ext-libusb
url = https://github.com/shadps4-emu/ext-libusb.git url = https://github.com/shadps4-emu/ext-libusb.git
[submodule "externals/epoll-shim"]
path = externals/epoll-shim
url = https://github.com/jiixyj/epoll-shim.git

View File

@ -246,6 +246,7 @@ find_package(Zydis 5.0.0 CONFIG)
find_package(pugixml 1.14 CONFIG) find_package(pugixml 1.14 CONFIG)
if (APPLE) if (APPLE)
find_package(date 3.0.1 CONFIG) find_package(date 3.0.1 CONFIG)
find_package(epoll-shim 3.14 CONFIG)
endif() endif()
list(POP_BACK CMAKE_MODULE_PATH) list(POP_BACK CMAKE_MODULE_PATH)
@ -1174,7 +1175,7 @@ if (APPLE)
endif() endif()
# Replacement for std::chrono::time_zone # Replacement for std::chrono::time_zone
target_link_libraries(shadps4 PRIVATE date::date-tz) target_link_libraries(shadps4 PRIVATE date::date-tz epoll-shim)
endif() endif()
if (ENABLE_QT_GUI) if (ENABLE_QT_GUI)

View File

@ -229,4 +229,8 @@ if (APPLE)
if (NOT TARGET MoltenVK) if (NOT TARGET MoltenVK)
add_subdirectory(MoltenVK) add_subdirectory(MoltenVK)
endif() endif()
if (NOT TARGET epoll-shim)
add_subdirectory(epoll-shim)
endif()
endif() endif()

1
externals/epoll-shim vendored Submodule

@ -0,0 +1 @@
Subproject commit 18159584bb3d17e601b9315a7398ace018251bdc