[cmake-developers] FindCUDA.cmake regression in 3.5.0-rc2

Sorley, Stephen L. Stephen.Sorley at jhuapl.edu
Wed Feb 17 15:38:58 EST 2016


I tested your fix, it's working well for my project.  Thanks for the quick response!

-Stephen S.

-----Original Message-----
From: Brad King [mailto:brad.king at kitware.com] 
Sent: Wednesday, February 17, 2016 3:28 PM
To: Sorley, Stephen L.
Cc: cmake-developers at cmake.org
Subject: Re: [cmake-developers] FindCUDA.cmake regression in 3.5.0-rc2

On 02/17/2016 02:53 PM, Sorley, Stephen L. wrote:
> FindCUDA.cmake from 3.5.0-rc2 is failing for me when creating solution 
> files for Visual Studio on Windows (VS 2013 update 4, to be specific).  
> The ninja generator on Windows is unaffected.

Thanks for trying the release candidate and tracking this down!

In the long run I agree that switching away from $(VCInstallDir) is best, but it is mentioned in several other places within the module and is documented as a valid user-provided value.  For now I'd like to fix the regression with minimal changes.

Please test this fix on top of 3.5.0-rc2:

 FindCUDA: Fix regression under Visual Studio generators
 https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=1911cda0

Thanks,
-Brad



More information about the cmake-developers mailing list