[Dune] How to get rid of Lapack?

Dominic Kempf dominic.r.kempf at gmail.com
Tue Feb 9 13:00:40 CET 2016


opts file, if you ask me.

Dominic

On Tue, Feb 9, 2016 at 12:41 PM, Aleksejs Fomins <aleksejs.fomins at lspr.ch>
wrote:

> Hey Dominik,
>
> Thanks for your suggestion.
>
> Where would be the best place for this command: opts-file, CMakeLists.txt
> of the project or of the folder in which the library is located?
>
> Regards,
> Aleksejs
>
> On 09.02.2016 11:29, Dominic Kempf wrote:
> > Hey Aleksejs,
> >
> > you can always set CMAKE_DISABLE_FIND_PACKAGE_<packagename>=1
> > in your opts file. Note that <packagename> is case sensitive here.
> >
> > Dominic
> >
> > On Tue, Feb 9, 2016 at 10:15 AM, Aleksejs Fomins <
> aleksejs.fomins at lspr.ch <mailto:aleksejs.fomins at lspr.ch>> wrote:
> >
> >     Dear Dune,
> >
> >     I have Lapack and CLapack installed on my system.
> >
> >     I want to use CLapack in my code. However, Dune finds Lapack, and
> passes the Lapack library to my executable, thus causing name conflict.
> >
> >     Would it be possible to explicitly exclude a library from a project
> with CMake?
> >
> >     Regards,
> >     Aleksejs
> >
> >     _______________________________________________
> >     Dune mailing list
> >     Dune at dune-project.org <mailto:Dune at dune-project.org>
> >     http://lists.dune-project.org/mailman/listinfo/dune
> >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.dune-project.org/pipermail/dune/attachments/20160209/0f00b537/attachment.htm>


More information about the Dune mailing list