[Dune] cmake build, how to specify non-standard libraries

Benedikt Oswald benedikt.oswald at lspr.ch
Tue Nov 25 12:10:13 CET 2014


Dear Markus,thank you very much! This, your suggestion,

upfront: It is probably easier nd more portable to do this entirely in CMake:

find_package(Boost 1.55.0 COMPONENTS system)

target_link_libraries(target ${Boost_LIBRARIES})


did the trick! 

We are currently intensely converting our dune-based project to cmake
and thus appreciate your support enormously!

Greetings,

Benedikt


Am 25/11/14 um 11:54 schrieb Markus Blatt:
> On Tue, Nov 25, 2014 at 11:50:10AM +0100, Markus Blatt wrote:
>> find_package(Boost 1.55.0 COMPONENTS system)
> In your case this should probably be required:
>
> find_package(Boost 1.55.0 COMPONENTS system REQUIRED)
>
>
>
> _______________________________________________
> Dune mailing list
> Dune at dune-project.org
> http://lists.dune-project.org/mailman/listinfo/dune

-- 
------------------------------------------------------------------------------------------------
Dr. sc. techn. Benedikt Oswald - first engineer - LSPR AG - phone - +41 43 366 90 74
Technoparkstrasse 1, CH-8005 Zürich, benedikt.oswald at lspr.ch - labor vincit omnia improbus
------------------------------------------------------------------------------------------------


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 882 bytes
Desc: OpenPGP digital signature
URL: <https://lists.dune-project.org/pipermail/dune/attachments/20141125/95dc4f8e/attachment.sig>


More information about the Dune mailing list