[CMake] 3.1 can't link my MinGW executables any more.
Rolf Eike Beer
eike at sf-mail.de
Mon Dec 1 14:52:02 EST 2014
Brad King wrote:
> On 12/01/2014 12:04 PM, Bill Somerville wrote:
> > One thing that looks suspicious are the lines mapping words to content
> >
> > along the lines of :
> > arg [-lmingw32] ==> lib [mingw32]
> > arg [-lgcc] ==> lib [gcc]
> > arg [-lgcc_eh] ==> lib [gcc_eh]
> >
> > which in 3.1 look like this:
> > arg [-lmingw32] ==> lib []
> > arg [-lgcc] ==> lib []
> > arg [-lgcc_eh] ==> lib []
> >
> > I'm not sure where they are generated.
>
> That looks like a regression only in construction of the log messages.
> I've fixed that here:
>
> CMakeParseImplicitLinkInfo: Fix implicit library logging
> http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=20bf6971
>
> and will include it in the next 3.1 release candidate.
Can't CMAKE_MATCH_1 be used twice? Otherwise the "lib" variable should
explicitely be unset, the name is much too generic to not be reused by someone
perhaps wondering about the content already in there.
Eike
--
More information about the CMake
mailing list