#1545 CMake: add_dune_all_flags does not add libraries
Metadata
Property | Value |
---|---|
Reported by | Christoph Grüninger (gruenich@iws.uni-stuttgart.de) |
Reported at | Dec 14, 2014 19:36 |
Type | Bug Report |
Version | Git (pre2.4) [autotools] |
Operating System | Unspecified / All |
Last edited by | Steffen Müthing (steffen.muething@iwr.uni-heidelberg.de) |
Last edited at | Feb 2, 2015 17:04 |
Closed by | Steffen Müthing (steffen.muething@iwr.uni-heidelberg.de) |
Closed at | Feb 2, 2015 17:04 |
Closed in version | 2.4 |
Resolution | Duplicate |
Comment | Duplicate of #1557 (closed) - see the more thorough solution there. |
Description
The macro add_dune_all_flags does only add includes and flags but not libraries. We should include that, too. Or we create a second macro add_dune_all_libs.
I prefer to have just one such macro, but I am open for discussion.
Currently it cannot be used instead of the add_dune_*_flags because then linking fails.
How to reproduce: Use the macro in dune-grid-howto.