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
CMakeToolchain: proper support of find_*() & include() commands #10186
CMakeToolchain: proper support of find_*() & include() commands #10186
Changes from 35 commits
f2e977d
f04fb1b
ff262ba
f21ed65
16c941a
dba1989
be4b91d
5204b73
9aa71cf
029dfc0
ab11029
75812f4
858fab8
e34655a
f9978e8
e020731
89e1e40
46cc18a
4b0c6d7
aca09f0
5a1adfc
8aa3443
54cefa9
af6afcf
05b83f4
e60bfe7
edff4ac
cbca474
b679c0e
905ff07
6778102
68d4616
1e89fe9
8a5ee2b
c244e30
fd72d4a
121b61a
6bb0be8
5d19b4f
b1d69a7
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.
This was necessary at some point, to have the Android build finding the xxx-config.cmake by Conan. Maybe it is no longer needed, but it is difficult to know, because we are not running yet Android build tests in our CI
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.
Yes, it's the same issue than cross-build to iOS/tvOS/watchOS, but 2 different solutions have been implemented. Here it's fixed by forcing
CMAKE_FIND_ROOT_PATH_MODE_PACKAGE
to"BOTH"
(same fix than iOS/tvOS/watchOS).Of course, the best solution would be to not have to manipulate
CMAKE_FIND_ROOT_PATH_MODE_*
but other solutions raise other issues (conflicts between host & build context), and I think this one is harmless compare to other solutions.