[CMake] CheckLibraryExists behaviour with different compilers

victor sv victorsv at gmail.com
Mon Apr 20 06:57:08 EDT 2015


Ok  Nils,

thanks for your help :)

Best regards,
Víctor.

2015-04-20 12:33 GMT+02:00 Nils Gladitz <nilsgladitz at gmail.com>:

> On 04/20/2015 12:28 PM, victor sv wrote:
>
>> After googling and reading this:
>>
>>
>> http://www.opal-rt.com/kb-article/undefined-reference-intel-fast-memset-build-error-related-rte-delay
>>
>> I try to link against libirc.a and libimf.a and it works fine. I do
>> other test compiling a shared METIS library with Intel compilers and it
>> works too.
>>
>> There is something that I'm not well understanding ... If I build a
>> static library, even with Intel compilers,shouldn't this library contain
>> all the needed symbols?
>>
>
> A static library is basically a container of object files.
> Library dependencies are normally neither included within that container
> nor are they recorded.
>
> Nils
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20150420/6c9898b2/attachment.html>


More information about the CMake mailing list