tags 487447 moreinfo
thanks

Hi,

sekmadienis 22 Birželis 2008, Ludovico Cavedon rašė:
> You can test it with this[2] test case.
> If you compile it with cmake 2.4 and cmake 2.6 you get a different
> output of "obdump m/m | grep sl", determined by the fact that with cmake
> 2.4 the linker is invoked with
>         -L/chroot/sid/home/cavedon/gcc/cmt/sl -lsl
> while with 2.6 it is invoked with
>         -L../sl/libsl.so
Could you explain what is your bug about? CMP0003 talks only about full path 
which is not the case with your test case. Actually, cmake 2.4 behaviour looks 
like a bug to me while cmake 2.6 one is more correct in the case you are 
describing. You want linking to happen against your project library if you 
specify the project target in target_link_libraries(), don't you? So what is 
this bug about?
In addition, -L/chroot/sid/home/cavedon/gcc/cmt/sl can't be really as useful 
as the case desribed in CMP0003 help page is, so that's probably why there is 
no compatibility policy for it.

-- 
Modestas Vainius <[EMAIL PROTECTED]>

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

Reply via email to