ladybird/Userland/Services/LookupServer/CMakeLists.txt
Tim Schumacher ce2f1b845f Everywhere: Mark dependencies of most targets as PRIVATE
Otherwise, we end up propagating those dependencies into targets that
link against that library, which creates unnecessary link-time
dependencies.

Also included are changes to readd now missing dependencies to tools
that actually need them.
2022-11-01 14:49:09 +00:00

25 lines
482 B
CMake

serenity_component(
LookupServer
REQUIRED
TARGETS LookupServer
)
compile_ipc(LookupServer.ipc LookupServerEndpoint.h)
compile_ipc(LookupClient.ipc LookupClientEndpoint.h)
set(SOURCES
DNSServer.cpp
LookupServer.cpp
ConnectionFromClient.cpp
MulticastDNS.cpp
main.cpp
)
set(GENERATED_SOURCES
LookupServerEndpoint.h
LookupClientEndpoint.h
)
serenity_bin(LookupServer)
target_link_libraries(LookupServer PRIVATE LibCore LibDNS LibIPC LibMain)