mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-07 19:57:45 +03:00
ce2f1b845f
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.
23 lines
437 B
CMake
23 lines
437 B
CMake
serenity_component(
|
|
Clipboard
|
|
REQUIRED
|
|
TARGETS Clipboard
|
|
)
|
|
|
|
compile_ipc(ClipboardServer.ipc ClipboardServerEndpoint.h)
|
|
compile_ipc(ClipboardClient.ipc ClipboardClientEndpoint.h)
|
|
|
|
set(SOURCES
|
|
ConnectionFromClient.cpp
|
|
Storage.cpp
|
|
main.cpp
|
|
)
|
|
|
|
set(GENERATED_SOURCES
|
|
ClipboardClientEndpoint.h
|
|
ClipboardServerEndpoint.h
|
|
)
|
|
|
|
serenity_bin(Clipboard)
|
|
target_link_libraries(Clipboard PRIVATE LibCore LibIPC LibMain)
|