#1480 Bugs in CMake on Mac OS Mavericks
Metadata
Property | Value |
---|---|
Reported by | Timo Betcke (timo.betcke@gmail.com) |
Reported at | Jul 22, 2014 21:24 |
Type | Bug Report |
Version | 2.3 |
Operating System | Mac OS |
Last edited by | Christoph Grüninger (gruenich@iws.uni-stuttgart.de) |
Last edited at | Jan 1, 2015 16:01 |
Description
I have tried to build dune on Mac OS Mavericks using cmake and encountered several small issues in the cmake scripts.
-
In DuneMacros.cmake the function 'dune_target_link_libraries' does not handle lists of link libraries correctly.
-
In dune-geometry and dune-grid I had linking errors since the dependencies are not explicitly added to the linker.
The attached tar.gz. file contains patches to these issues. Please note, in particular with respect to the second issue I haven't tried to fix all occurrences where linking occurs, just those needed in my own project. So other occurrences may have to be updated as well.
Best wishes
Timo