diff options
author | Timothy Flynn <trflynn89@pm.me> | 2023-01-18 14:03:14 -0500 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2023-01-19 11:29:48 +0000 |
commit | 0dce7b72f9804775c64016ceb0991f66acfbb29b (patch) | |
tree | 9ac094fe4fe90ea3bec9656e1bdeec3ad297fd60 /Meta | |
parent | 8438c509e9a5159f516fc0498998238f9de5d394 (diff) | |
download | serenity-0dce7b72f9804775c64016ceb0991f66acfbb29b.zip |
LibCore: Implement FileWatcher for macOS
The macOS FileWatcher depends on macOS dispatch queues, which run on a
different thread than the Core::EventLoop. This implementation handles
filesystem events on its dispatch queue, then forwards the event back to
the main Core::EventLoop for notifying the FileWatcher owner.
Diffstat (limited to 'Meta')
-rw-r--r-- | Meta/Lagom/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Meta/Lagom/CMakeLists.txt b/Meta/Lagom/CMakeLists.txt index 0567b9882c..9969e301e9 100644 --- a/Meta/Lagom/CMakeLists.txt +++ b/Meta/Lagom/CMakeLists.txt @@ -573,7 +573,7 @@ if (BUILD_LAGOM) # LibCore lagom_test(../../Tests/LibCore/TestLibCoreIODevice.cpp WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/../../Tests/LibCore) - if (LINUX AND NOT EMSCRIPTEN) + if ((LINUX OR APPLE) AND NOT EMSCRIPTEN) lagom_test(../../Tests/LibCore/TestLibCoreFileWatcher.cpp) endif() |