remove DUNE_BUILD_BOTH_LIBS from cmake
Summary
Remove the cmake options DUNE_BUILD_BOTH_LIBS
and DUNE_USE_ONLY_STATIC_LIBS
.
Details
There is hardly any use-case for building both, shared and static libraries, at the same time. It just complicates the whole cmake structure. Additionally, the option DUNE_USE_ONLY_STATIC_LIBS
. This is a hack in the cmake automatic find-library and linkage procedure.