Skip to content
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

CMAKE: Add targets once in case of multiple find_package() #9696

Merged
merged 1 commit into from
Feb 19, 2024

Conversation

tvegas1
Copy link
Contributor

@tvegas1 tvegas1 commented Feb 19, 2024

What

Check target existence before adding them.

Why ?

Triggers error when find_package() is invoked multiple times.

How ?

Derived from #9622, but since we don't generate the ucx cmake target file, take simpler approach.

@yosefe yosefe merged commit c565dd7 into openucx:master Feb 19, 2024
134 checks passed
@vyasr
Copy link

vyasr commented Feb 22, 2024

Confirming that this should be practically equivalent to #9622.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants