Skip to content

FindCUDAToolkit: Robust version checks when CUDA lang is not enabled

Previously if you set CMAKE_CUDA_COMPILER but hadn't enabled the CUDA language, FindCUDAToolkit would not correctly compute the version information.

Edited by Brad King

Merge request reports