Skip to content
Snippets Groups Projects
Commit b2d54827 authored by Christoph Grüninger's avatar Christoph Grüninger
Browse files

Merge branch 'feature/allow-shared-libs-with-object-libaries' into 'master'

Allow using object libraries in conjunction with shared libs.

CMake's object libraries cannot judge whether they will be used
in shared libraries. To allow ease of in core and downstream modules
we resort to compiling position independent code whenever shared DUNE
libraries are requested. This is done by setting CMAKE_POSITION_INDEPENDENT_CODE
to ON. Please not that the can be overriding manually by setting the target
property POSITION_INDEPENDENT_CODE to something else where needed.

Closes staging/dune-uggrid#16

See merge request !160
parents 16aa6f29 55fc9c48
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment