Closed pknowles closed 11 months ago
Note that I don't see this error when configuring cugraph like so:
mkdir cugraph/cpp/build
cd cugraph/cpp/build
cmake .. -DCMAKE_PREFIX_PATH="/usr/local/share/nccl" -DUSE_CUGRAPH_OPS=OFF
Is it possible cugraph is un-setting some variables that cmake would otherwise need, or setting something that could conflict with an add_executable()
?
I understand the expected use case migth be to compile and package the dependency myself before referencing it as a pre-built binary, but it would be nicer for developers to have dependencies of a project build themselves in one go with as few steps as possible.
It seems adding enable_language(CUDA)
magically makes this error go away.
Closing as this is more of a bad-error-message cmake bug IMO.
Version
branch-23.10
Which installation method(s) does this occur on?
Source
Describe the bug.
When depending on the cmake
cugraph
library, I get the following error:I asked about this cmake message here: https://stackoverflow.com/q/77130941/1888983
Minimum reproducible example
cmake -B build -S . -DCMAKE_BUILD_TYPE=Debug
Relevant log output
Environment details
No response
Other/Misc.
No response
Code of Conduct