Closed interistaadastra closed 8 months ago
Thanks @a7marchesini
Your suggestion makes sense to me. Could you submit the change as a pull request, it'll make it easier for the maintainers to review and merge.
@leif81 I can make an MR if you'd like. However I tried pushing a branch and github rejected me. Do I need additional permissions for that?
You'll need to fork the project, try this
@leif81 Sorry for the delay. Fork created, branch made, pull request created (as noted by the UI above this message)
In my application, it's perfectly reasonable for, say, two different calls to
find_dependency(OpenDIS)
to be made, which in turn causesOpenDISConfig.cmake
to be included twice. This is a bit of a problem, since thengets run twice. The proposed fix is very straightforward, merely checking whether each target exists before creating it: