On 04/30/2011 01:38 PM, Dave Plater wrote:
I've a problem with my cmake openCOLLADA build
when using multiple jobs, one lib wants to link to another that hasn't finished
Being a hacker at heart I'm trying to add this to the CMakeLists.txt of the lib that
can't find the other :
I'm still going over commands and syntax, I don't know how to invert
"libOpenCOLLADABaseUtils_FOUND" yet or if this method will even work.
openCOLLADA takes a long time to build and if I build it on my system one of the libs
hogs my system to the point of it freezing for at
least 20 minutes, so I can only do this and go away for a while and come back to find
that it's failed. Doesn't fair well with hacking.
Ok I've got as far as this, hope it works :
# GeneratedSaxParser fails to find OpenCOLLADABaseUtils for linking during multiple job
# this is an attempt to make GeneratedSaxParser's linking wait for
libOpenCOLLADABaseUtils to finish first.
ENDWHILE(libOpenCOLLADABaseUtils_FOUND is FALSE)
To unsubscribe, e-mail: opensuse-programming+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-programming+help(a)opensuse.org