[sldev] Re: CMake 2.4.8 vs 2.6 (Re: Missing cares,
apr in Mac build)
Aimee Walton
aimee at ama-zing.co.uk
Fri Jul 18 18:50:45 PDT 2008
On Jul 18, 2008, at 20:21, Bill Hoffman wrote:
> Aimee Walton wrote:
>> On Jul 18, 2008, at 18:51, Rob Lanphier wrote:
>>>
>>> Does anyone know if there a fundamental incompatibility between
>>> CMake 2.4.8 and 2.6, or is CMake 2.6 support something that can
>>> be made to work without too much hassle? This seems like a FAQ
>>> in the making.
>> This is the problem ...
>> aimee$ ./cmake --help-policy CMP0003
>> cmake version 2.6-patch 0
>> ---------------------------------------------------------------------
>> --------- CMP0003
>> Libraries linked via full path no longer produce linker search
>
>
> 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.
More information about the SLDev
mailing list