CMake 3.13.0r3 CUDA First Class Citizen can't select other CUDA versions other than 10
CMake 3.13.0r3 CUDA First Class Citizen can't select other CUDA versions other than 10
I am having difficulty trying to set up my CMakeLists.txt such that CMake can set up my solution with CUDA 9.0. It always selects CUDA 10 when I use the CUDA first class citizen method.
I am using Windows 10 and Visual Studio 2017. I would like to be able to select from:
- Visual Studio 15.9.x and CUDA 10
- Visual Studio 15.4.5 and CUDA 9
I found this article:
This page mentions:
Note that FindCUDA is deprecated, but for now, the following functions require FindCUDA:
- CUDA version checks / picking a version
- Architecture detection (Note: 3.12 will fix this at least partially)
- Linking to CUDA libraries from non-.cu files
Is there a specific keyword that allows to set which CUDA version or is this feature missing from CMake 3.13.0?