Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is the yder equivalent of babelouest/orcania#30
When downloading dependencies, this has a HARD requirement on babelouest/orcania#30.The reason for the hard requirement is as follows:The exported yder targets link to orcania targets. At export time, CMake checks whether all targets are being exported.
Because upstream orcania currently does not export any target, this fails.
These errors look as follows:I fixed the hard requirement by using imported targets instead of
ALIAS
'es.After this pr, an install prefix looks as follows:
Also note that
FindSystemd.cmake
is installed as well.This is because a static yder needs a systemd library, even when used by a consumer.
After this pr, a project can use yder by doing:
Note how the cmake script does not need to worry about linking to systemd/orcania.
Used by conan-io/conan-center-index#13614