mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 05:24:58 +00:00

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.
20 lines
445 B
CMake
20 lines
445 B
CMake
serenity_component(
|
|
ImageDecoder
|
|
TARGETS ImageDecoder
|
|
)
|
|
|
|
compile_ipc(ImageDecoderServer.ipc ImageDecoderServerEndpoint.h)
|
|
compile_ipc(ImageDecoderClient.ipc ImageDecoderClientEndpoint.h)
|
|
|
|
set(SOURCES
|
|
ConnectionFromClient.cpp
|
|
main.cpp
|
|
)
|
|
|
|
set(GENERATED_SOURCES
|
|
ImageDecoderServerEndpoint.h
|
|
ImageDecoderClientEndpoint.h
|
|
)
|
|
|
|
serenity_bin(ImageDecoder)
|
|
target_link_libraries(ImageDecoder PRIVATE LibCore LibGfx LibIPC LibMain)
|