Re: [CMake] Cuda7 issues

2015-04-17 Thread Wesley Smith
Ah, thanks! On Fri, Apr 17, 2015 at 3:36 PM, James Bigler wrote: > FindCUDA doesn't look for a specific version, but rather checks to see if > the version it found is the one you asked for. You can set the > CUDA_TOOLKIT_ROOT_DIR to the one you want (and reconfigure - I've set it up > to easily

Re: [CMake] Cuda7 issues

2015-04-17 Thread James Bigler
FindCUDA doesn't look for a specific version, but rather checks to see if the version it found is the one you asked for. You can set the CUDA_TOOLKIT_ROOT_DIR to the one you want (and reconfigure - I've set it up to easily change this), or you can change your environment in Windows to point to the

[CMake] Cuda7 issues

2015-04-17 Thread Wesley Smith
Hi, I'm trying to use Cmake 3.2.2 to build with Cuda7 on Windows 8. I have both Cuda 6.5 and Cuda 7.0 installed in these locations: C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v6.5 C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v7.0 When I try these: find_package(CUDA "7.0" REQUIRED)