<div dir="ltr"><div>opts file, if you ask me.<br><br></div>Dominic<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Feb 9, 2016 at 12:41 PM, Aleksejs Fomins <span dir="ltr"><<a href="mailto:aleksejs.fomins@lspr.ch" target="_blank">aleksejs.fomins@lspr.ch</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hey Dominik,<br>
<br>
Thanks for your suggestion.<br>
<br>
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?<br>
<br>
Regards,<br>
Aleksejs<br>
<span class=""><br>
On 09.02.2016 11:29, Dominic Kempf wrote:<br>
> Hey Aleksejs,<br>
><br>
> you can always set CMAKE_DISABLE_FIND_PACKAGE_<packagename>=1<br>
> in your opts file. Note that <packagename> is case sensitive here.<br>
><br>
> Dominic<br>
><br>
</span><span class="">> On Tue, Feb 9, 2016 at 10:15 AM, Aleksejs Fomins <<a href="mailto:aleksejs.fomins@lspr.ch">aleksejs.fomins@lspr.ch</a> <mailto:<a href="mailto:aleksejs.fomins@lspr.ch">aleksejs.fomins@lspr.ch</a>>> wrote:<br>
><br>
>     Dear Dune,<br>
><br>
>     I have Lapack and CLapack installed on my system.<br>
><br>
>     I want to use CLapack in my code. However, Dune finds Lapack, and passes the Lapack library to my executable, thus causing name conflict.<br>
><br>
>     Would it be possible to explicitly exclude a library from a project with CMake?<br>
><br>
>     Regards,<br>
>     Aleksejs<br>
><br>
>     _______________________________________________<br>
>     Dune mailing list<br>
</span>>     <a href="mailto:Dune@dune-project.org">Dune@dune-project.org</a> <mailto:<a href="mailto:Dune@dune-project.org">Dune@dune-project.org</a>><br>
>     <a href="http://lists.dune-project.org/mailman/listinfo/dune" rel="noreferrer" target="_blank">http://lists.dune-project.org/mailman/listinfo/dune</a><br>
><br>
><br>
</blockquote></div><br></div>