diff --git a/Userland/Libraries/LibCore/CMakeLists.txt b/Userland/Libraries/LibCore/CMakeLists.txt index 2acb32b655..c4f530dcac 100644 --- a/Userland/Libraries/LibCore/CMakeLists.txt +++ b/Userland/Libraries/LibCore/CMakeLists.txt @@ -41,9 +41,11 @@ if (NOT ANDROID AND NOT WIN32 AND NOT EMSCRIPTEN) FilePermissionsMask.cpp GetPassword.cpp Group.cpp - LocalServer.cpp ) endif() +if (NOT WIN32 AND NOT EMSCRIPTEN) + list(APPEND SOURCES LocalServer.cpp) +endif() # FIXME: Implement Core::FileWatcher for macOS, *BSD, and Windows. if (SERENITYOS)