Re: [CMake] Removing overkill linking

2010-10-01 Thread Paul McEnery
On 1 October 2010 16:40, Marcel Loose wrote: > Hi Paul, > > Probably one of the packages that you "pull in" -- dbus, dbug-glib, > libftdi, libglade, gtk+2, hal -- is introducing this dependency. Check > the different *_LIBRARIES variables and you'll probably find the fly in > your ointment. > > Yo

Re: [CMake] Removing overkill linking

2010-10-01 Thread Marcel Loose
Hi Paul, Probably one of the packages that you "pull in" -- dbus, dbug-glib, libftdi, libglade, gtk+2, hal -- is introducing this dependency. Check the different *_LIBRARIES variables and you'll probably find the fly in your ointment. You may definitely want to look into the LINK_INTERFACE_LIBRAR

[CMake] Removing overkill linking

2010-10-01 Thread Paul McEnery
Hi. I'm a cmake newbie, and have only been exposed to cmake in the form of maintaining a Debian package. I'm working on packaging galinette (http://galinette.sourceforge.net). I noticed that cmake appears to be linking against libraries which are not actually required. Here is a snippet of the dpk