-
Notifications
You must be signed in to change notification settings - Fork 287
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
Create imported targets in DARTFind*.cmake instead of Find*.cmake #1222
Conversation
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.
Looks good to me! Let's add an item for this change in the changelog under DART 6.7.1.
@jslee02 I'm looking over the cmake scripts for finding packages, and I'm not clear on one thing: What happens when the dependency of a component is missing? For example, let's say I install I think that'll work fine for core dependencies, because we use Please let me know if I'm overlooking something. In the meantime I'll see if I can find a minimally invasive way to make the config-file work as desired. |
I also think the current script wouldn't catch the case, which I believe most of the build scripts wouldn't do either (because the system has been forcibly changed from when it was built). But it sounds good to have a logic to catch the case. |
One possible solution would be:
|
CMake config-files are encouraged to use Unfortunately |
I'm thinking about using the |
Yeah, AFAIK,
👍 |
Those files are generated by these lines in |
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.
LGTM!
This attempts to fix the issue reported in the thread of #1209