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

find_package(raft) can now be called multiple times safely #532

Conversation

robertmaynard
Copy link
Contributor

Previously it would try to add the raft::Thrust target multiple times, causing a CMake error as the target already existed.

This is required as find_package(X) can be invoked any number of times and will execute the X-config.cmake each time.

Previously it would try to add the `raft::Thrust` target multiple
times, causing a CMake error as the target already existed.

This is required as find_package(X) can be invoked any number
of times and will execute the `X-config.cmake` each time.
@robertmaynard
Copy link
Contributor Author

@gpucibot merge

@rapids-bot rapids-bot bot merged commit db7ba5e into rapidsai:branch-22.04 Feb 28, 2022
@robertmaynard robertmaynard deleted the bug/allow_multiple_inclusion_of_raft-config branch February 28, 2022 19:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3 - Ready for Review bug Something isn't working CMake cpp non-breaking Non-breaking change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants