SV: [sldev] Re: CMake 2.4.8 vs 2.6 (Re: Missing cares, apr inMac
build)
Bill Hoffman
bill.hoffman at kitware.com
Sat Jul 26 12:23:17 PDT 2008
Carsten Juttner wrote:
> On the same note (but probably more a problem of the SL cmake files):
>
> I'm currently running into problems with both release cmake 2.6.0 and
> 2.6.1 patch 13 (from CVS CMake-2-6 branch) on a Linux x86_64 system
> (Kubuntu Gutsy). Since it is 64 bit, this is a standalone build.
>
> The issues I experience are due to dependencies of the library targets
> not being communicated to CMake so they only get added for the
> application but not for the target libraries against which the
> application is also linked.
>
> For example llcommon.a is dependent on the system provided APR-library
> but this is not stated in its subdirectory. It seems that 2.6.0 changed
> the way libraries are listed on the command line (probably related to
> the same policy change that was described on the list before?).
>
> This has the effect that during the final link e.g.
> ../llcommon/libllcommon.a appears on the command line only after
> -laprutil-1 -lapr-1 have already been stated (since they are only listed
> in the CMakeLists.txt for the application itself).
>
So, this worked with 2.4.8? Can you send me the link line from a 2.4.8
build and a 2.6.1 RC 13 build? Use make VERBOSE=1 to see the full link
line used.
Thanks.
-Bill
More information about the SLDev
mailing list