Skip to content

FindCUDAToolkit: Support scattered installations when crosscompiling

Previously when CMAKE_CROSSCOMPILING was ON we'd end up not setting the target directory if the non-scattered one didn't exist.
Fix this by assuming a scattered installation if the target directory isn't set after the crosscompiling logic.

This is the same fix as !5222 (merged).

Edited by Brad King

Merge request reports