-
Notifications
You must be signed in to change notification settings - Fork 11
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
Checks for found and target in singularity-eosConfig.cmake #183
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.
I don't understand these changes or their impact. But I'll trust you that they're correct. I'll approve once the boxes are all checked.
In the if(NOT Eigen3_FOUND)
find_package(Eigen3 REQUIRED)
endif() What was happening when building downstream was This is a bit brutish, but now if(NOT Eigen3_FOUND OR NOT TARGET Eigen3::Eigen)
find_package(Eigen3 REQUIRED)
endif() So that, if |
If I am understanding correctly, this change will be in effect for all dependencies @mauneyc-LANL? It seems like a good addition if we want to maintain in-tree and externally built capabilities for our dependencies. |
This effects any dependencies that define an interface target that we adhere to, e.g. A counter-example is when we import I should stress that this is a sloppy attempt to fix an issue I haven't figured out - specifically, when I was importing |
PR Summary
The exported configuration checked for
Eigen3_FOUND
and passed, but the concurrent processing wasn't able to find the interface targetEigen3::Eigen
. This updates the configuration check to check both.PR Checklist
make format
command after configuring withcmake
.