Call target_link_libraries with PUBLIC keyword if necessary
Espresso needs this if it is built with both Walberla and CUDA support. The trouble is that if target_link_libraries
is called with a keyword like PUBLIC
or PRIVATE
somewhere, it cannot be called without keyword for the same library in another place.