Hey,

> After a quick investigation, the issue seems to be the cmake configuration
> files in qt5keychain-dev:
> 
> $ grep -i secret /usr/lib/x86_64-linux-gnu/cmake/Qt5Keychain/*
> /usr/lib/x86_64-linux-gnu/cmake/Qt5Keychain/Qt5KeychainLibraryDepends-
> debian.cmake:  IMPORTED_LINK_INTERFACE_LIBRARIES_DEBIAN
> "Qt5::Core;secret-1;gio-2.0;gobject-2.0;glib-2.0;Qt5::DBus"
> 
> which basically tells users that "whenever you link Qt5Keychain, you should
> also link these...".

Thanks for the digging into this. I could resolve this by simply move the most 
of target_libraries to PRIVATE part.

> The CMakeLists.txt in general could need a bit of modern cmake love.

Feel welcome to propose any patch upstream.

hefee

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to