#1480 Bugs in CMake on Mac OS Mavericks
|Reported by||Timo Betcke (email@example.com)|
|Reported at||Jul 22, 2014 21:24|
|Operating System||Mac OS|
|Last edited by||Christoph Grüninger (firstname.lastname@example.org)|
|Last edited at||Jan 1, 2015 16:01|
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.