Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changed cuco cmake function to return early if cuco has already been …
…added as a target (#1746) Changed cuco cmake function to return early if cuco has already been added as a target. This matches the technique used by raft [here](https://github.com/rapidsai/raft/blob/a3af3895410c19f3e713caa608ea2024f6008350/cpp/cmake/thirdparty/get_cuco.cmake#L19). Tested by doing a build and install of cuML, followed by a build of cuGraph and observing a CPM error about the alias target `cuco::cuco` already existing. Made the change to return early if cuco is already a target and observed the cuGraph `libcugraph.so` build succeed. Authors: - Rick Ratzel (https://github.com/rlratzel) Approvers: - Chuck Hastings (https://github.com/ChuckHastings) - Dillon Cullinan (https://github.com/dillon-cullinan) URL: #1746
- Loading branch information