LibGfx: Link against LibIPC

Gfx::Color implements an IPC::[en|de]code function, but we did not
actually link against LibIPC to resolve the needed Symbols for that and
were relying on LibGui or others to link against it for us.

Having this linkage is unfortunate, but static inlining the functions in
question is sadly not possible, due needed includes leading the IPC
pipeline to initialize multiple times then, which leads to a compilation
error.
This commit is contained in:
Hendiadyoin1 2021-11-29 18:20:54 +01:00 committed by Ali Mohammad Pur
parent 9e7c16d0a4
commit 51cf35988b
Notes: sideshowbarker 2024-07-19 17:12:21 +09:00

View file

@ -44,4 +44,4 @@ set(SOURCES
)
serenity_lib(LibGfx gfx)
target_link_libraries(LibGfx LibM LibCompress LibCore LibTextCodec)
target_link_libraries(LibGfx LibM LibCompress LibCore LibTextCodec LibIPC)