Simon W: thanks for the tip. I have the header in include/ for the “Found cuDNN” version, but you were still right about the cause of the error. As it turns out, I had cudnn v7 installed in the anaconda environment, and cmake tried to link against that. Thanks for VladislavZavadskyy for pointing this out 17. I am going to report it as an issue, though, because there is no way to identify the issue from the output.