Hello everyone,

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 
<https://stackoverflow.com/questions/47737558/uses-of-target-link-libraries-must-be-either-all-keyword-or-all-plain>
 
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.

Best regards,
David

-- 
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dealii+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/1d6ca7af-bac2-418f-a092-a44e3fe66162n%40googlegroups.com.

Reply via email to