Correctly find dependencies when installed#261
Merged
Algiane merged 1 commit intoMmgTools:masterfrom Apr 22, 2024
Merged
Conversation
12c3849 to
9634b3a
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #261 +/- ##
=========================================
Coverage ? 43.98%
=========================================
Files ? 179
Lines ? 54124
Branches ? 10252
=========================================
Hits ? 23805
Misses ? 22599
Partials ? 7720 ☔ View full report in Codecov by Sentry. |
Contributor
Author
|
The change had the unfortunate side-effect to make the CMake configuration fail whenever either SCOTCH or VTK are absent, even if these packages were not used when building Mmg. So it is a significant regression compared to the previous state. Sorry for that, I should have tested more throughly. I will submit a fix as a new PR. |
Member
|
Thanks for the feedback. I haven't particularly tested the PR as the integration tests didn't fail but the config files generated by CMake are not tested 😅 . |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Use
find_dependencyinstead offind_packagein installed CMake config to correctly propagateQUIETandREQUIREDflags to users.