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.
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add components to cmake_find_package generator (jinja2) #7108
Add components to cmake_find_package generator (jinja2) #7108
Changes from all commits
650ca94
4090530
ee3f99b
2612927
b936911
25f241f
5652556
96a0a44
169f93c
53b01b1
cc0b8ce
734bb58
ef52ab5
f75fc57
fcb26e6
88afd45
c3f8af3
bb65e78
d897f79
6fa9ad1
b7d4580
a0f2b48
593041c
2ea3868
e418657
91f1ab6
02955c8
94b2f5e
8957c44
76d11c2
8d0c054
bfb52ba
4358605
5a60e37
9bb523a
6daf697
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we want to consider here the inputs
QUIET
andREQUIRED
?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Aren't those variables managed by CMake itself? From https://cmake.org/cmake/help/v3.0/command/find_package.html
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh! Maybe it uses the variable
<PKG>_FOUND
?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The variable
{{pkg_name}}_{{compo_name}}_LIB_TARGETS
has already been linked with everything listed in{{ pkg_name }}_{{ comp_name }}_LIBS_FRAMEWORKS_DEPS
(and also with system libraries that are wrongly listed inlibs
). So,{{ pkg_name }}_{{ comp_name }}_LIB_TARGETS
should be all be need in line L177. Am I right?