From: Xavier C. <cha...@gm...> - 2010-04-09 09:09:29
|
On Fri, Apr 9, 2010 at 8:46 AM, Dave Airlie <ai...@gm...> wrote: > So I don't understand cmake, > > but there is a lot of implicit linking going on in piglit, and in > Fedora 13 our linker doesn't like that anymore. > > So for example the fp-rfl test uses sqrt which means it needs to link > to libm not get libm via other links, > glx-multithread needs to link to pthread etc. > > How do I add per-app linking clauses to the cmake files? > Here is a patch (split into two) I sent to Haehnle a few weeks ago but he said he was busy traveling. I only had a problem with glx-multithread and pthread though (fixed by 0001), not with fp-rfl and sqrt/libm . |