summaryrefslogtreecommitdiff
path: root/Userland/Libraries
diff options
context:
space:
mode:
authorHendiadyoin1 <leon2002.la@gmail.com>2021-11-29 18:20:54 +0100
committerAli Mohammad Pur <Ali.mpfard@gmail.com>2021-11-29 23:17:05 +0330
commit51cf35988bf621a1c87fe1166638ea060ea49fa9 (patch)
tree083a12f8743dee504443e9ee601abb9dbb220951 /Userland/Libraries
parent9e7c16d0a44052e5981038d6b7cd79723fe78e24 (diff)
downloadserenity-51cf35988bf621a1c87fe1166638ea060ea49fa9.zip
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.
Diffstat (limited to 'Userland/Libraries')
-rw-r--r--Userland/Libraries/LibGfx/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibGfx/CMakeLists.txt b/Userland/Libraries/LibGfx/CMakeLists.txt
index 208dc9253b..5e3c86aeee 100644
--- a/Userland/Libraries/LibGfx/CMakeLists.txt
+++ b/Userland/Libraries/LibGfx/CMakeLists.txt
@@ -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)