SV: [sldev] Re: CMake 2.4.8 vs 2.6 (Re: Missing cares, apr in Mac build)

Suzhanna Rossini suzhanna.rossini at balsaestates.com
Tue Jul 22 13:19:30 PDT 2008


> Bill Hoffman wrote:
> > 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.
> >
> Assuming this was an issue that only affected the VS IDE, the most
> recent release candidate for cmake 2.6.1 RC 12 contains a fix that
> should make this work like it did in 2.4, but with a warning.
> 
> I would appreciate it if someone could verify that this fixes your
> problem.  You can find the windows binary here:
> 
> http://www.cmake.org/files/v2.6/cmake-2.6.1-RC-12-win32-x86.exe
> 
> Thanks.
> 
> -Bill


Bill, I've started a build on VS2003. But I won't be able to report the
result until tomorrow morning (CET) as I'm off to bed right now.. ;-)

/Alexandra



More information about the SLDev mailing list