I recently started a project with different dependencies and I'm running into an issue due to a CMake deal.II macro. I'm forced to use 'DEAL_II_SETUP_TARGET' as well as a similar macro from the other project and the projects use different versions of CMake's TARGET_LINK_LIBRARIES: one project uses TARGET_LINK_LIBRARIES including the signature keyword (PUBLIC, PRIVATE, INTERFACE), deal.II uses TARGET_LINK_LIBRARIES without the signature keyword. However, CMake does not allow to use both versions in one project. In principle, the issue is also described
on stackoverflow in a different context, but I cannot modify the signature from my project.
I was wondering whether I'm the first one with this problem and whether it would be possible to have a switch within the deal.II macro in order to choose either of these signatures. Maybe someone has another solution I'm not aware of. I'm not even entirely sure, which of both signatures is actually the recommended way to go.