mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-11 08:20:18 -06:00
version.txt is gone from CUDA 11.1 installations, but the rest is the same. Instead of looking for version.txt look for <CUDA path>/nvvm/libdevice, which is the main thing that Clang requires (though it also checks for the existence of bin and include). Fixes #21353.