Re: [CMake] Bug in cmake 2.8.4/5 when using IMPORTED static targets?

2011-08-04 Thread Brad King
On 7/21/2011 1:07 PM, Marco Corvo wrote: Hi all, I'm trying to use a new feature of releases 2.8.4/5, that is the possibility to define dependencies for IMPORTED targets and when I run cmake I get a SIGSEV signal. Trying to get some more info with Valgrind I found that: I can reproduce this

Re: [CMake] Bug in cmake 2.8.4/5 when using IMPORTED static targets?

2011-08-04 Thread Brad King
On 8/4/2011 3:29 PM, Brad King wrote: This was a dumb mistake on my part. I will fix it. Meanwhile you can avoid the crash by not making an imported target depend on a target that does not exist. Fixed to ignore dangling dependencies instead of crashing:

[CMake] Bug in cmake 2.8.4/5 when using IMPORTED static targets?

2011-07-21 Thread Marco Corvo
Hi all, I'm trying to use a new feature of releases 2.8.4/5, that is the possibility to define dependencies for IMPORTED targets and when I run cmake I get a SIGSEV signal. Trying to get some more info with Valgrind I found that: -- Configuring done ==5659== Invalid read of size 1 ==5659==

Re: [CMake] Bug in cmake 2.8.4/5 when using IMPORTED static targets?

2011-07-21 Thread David Cole
Is your project publicly available? Or can you construct a minimal reproduce case? I'd like to reproduce that issue here and then get a fix in ASAP. Thanks, David On Thu, Jul 21, 2011 at 1:07 PM, Marco Corvo marco.co...@pd.infn.it wrote: Hi all, I'm trying to use a new feature of