mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-07 22:59:56 -05:00
cd89d1c328
Previously if you set `CMAKE_CUDA_COMPILER` but hadn't enabled the CUDA language, FindCUDAToolkit would not correctly compute the version information.
9 lines
157 B
Plaintext
9 lines
157 B
Plaintext
// Only thing we care about is that these headers are found
|
|
#include <cuda.h>
|
|
#include <cuda_runtime_api.h>
|
|
|
|
int main(int argc, char** argv)
|
|
{
|
|
return 0;
|
|
}
|