It is possible that the current install(TARGET ... EXPORT ... ) does not work properly. In more complex projects with larger link trees then the ones in the CPF test projekts I experienced a problem where cmake fails with the error message that a target is exported more than once. This seems to be caused by the fact that all linked dependencies are also exported when using install(). Because of this the exported targets are added to all package export sets which seems to be not allowed.
Is there a workaround for this problem or can we only have one export set for the whole CI-Project?
What happens to imported linked targets. Are they somehow mentioned in the config files?
It is possible that the current install(TARGET ... EXPORT ... ) does not work properly. In more complex projects with larger link trees then the ones in the CPF test projekts I experienced a problem where cmake fails with the error message that a target is exported more than once. This seems to be caused by the fact that all linked dependencies are also exported when using install(). Because of this the exported targets are added to all package export sets which seems to be not allowed.
Is there a workaround for this problem or can we only have one export set for the whole CI-Project?
What happens to imported linked targets. Are they somehow mentioned in the config files?