Fix build where GObject & deps libraries are not in default library path

pkg_check_modules sets GOBJECT_LIBRARIES "only the libraries (w/o the '-l')"
as read from the pc files. So without the -L informations, resulting
in the libraries not found if in non-default paths.

Just passing GOBJECT_LDFLAGS as already done also for GCONF_LDFLAGS is
a workaround.
parent 9c3d0f2d
......@@ -62,7 +62,7 @@ target_link_libraries(plasma-volume-declarative
Canberra::Canberra
${PULSEAUDIO_LIBRARY}
${PULSEAUDIO_MAINLOOP_LIBRARY}
${GOBJECT_LIBRARIES}
${GOBJECT_LDFLAGS}
)
if (USE_GCONF)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment