[Dune] How to get rid of Lapack?

Aleksejs Fomins aleksejs.fomins at lspr.ch
Tue Feb 9 12:41:19 CET 2016


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
> 
> 




More information about the Dune mailing list