[sldev] Re: CMake 2.4.8 vs 2.6 (Re: Missing cares, apr in Mac
build)
Bill Hoffman
bill.hoffman at kitware.com
Mon Jul 21 06:20:36 PDT 2008
Aimee Walton wrote:
>>
>> Sure, that is a warning, does the build still work?
>
> Sorry, not my most useful reply ever, I'll blame lack of sleep.
>
> We have
> target_link_libraries(myexe /path/to/foo)
>
> Which is working on 2.4 as it splits to give -lfoo
>
> However on 2.6 it breaks the build, as it uses /path/to/foo when it
> really needs /path/to/libfoo.a
>
> AImee.
>
>
Could someone please clarify if this was working on makefile builds?
You say it was /path/to/libfoo.a, and that implies linux/unix. I want
to make sure this is not a new issue. As far as I know /path/to/foo
always failed (even in CMake 2.4) for any makefile builds included
nmake, and unix makefiles. The only time it worked was with the VS IDE.
Thanks.
-Bill
More information about the SLDev
mailing list