← Back to team overview

dolfin team mailing list archive

Re: CMake warning

 

On Tue, Oct 19, 2010 at 9:21 AM, Anders Logg <logg@xxxxxxxxx> wrote:
> This has most likely been discussed before but I'm bringing it up
> again anyway.
>
> I get the following annoying message for each and every demo when I
> configure DOLFIN on Lucid:
>
> CMake Warning at demo/pde/poisson/cpp/CMakeLists.txt:31 (add_executable):
>  Cannot generate a safe runtime search path for target poisson-demo
>  because
>  files in some directories may conflict with libraries in implicit
>  directories:
>
>    runtime library [liblapack.so.3gf] in /usr/lib may be hidden by
>    files in:
>      /usr/lib/atlas
>    runtime library [libblas.so.3gf] in /usr/lib may be hidden by
>    files in:
>      /usr/lib/atlas
>
>  Some of these libraries may not be found correctly.
>
> Any way to fix this?

Setting -DCMAKE_SKIP_RPATH:BOOL=ON when configuring DOLFIN made the
warnings go away for me. Does it work for you? Maybe we can use that
as the default?

Johannes



Follow ups

References