[cmake-developers] [PATCH] FindCUDA: Wrap keyword in if() string comparison

Nils Gladitz nilsgladitz at gmail.com
Wed Sep 17 14:25:17 EDT 2014


On 17.09.2014 14:48, Nils Gladitz wrote:
>
> Maybe modules loaded from the cmake installation itself should 
> implicitly have their policy version set to the current cmake version?
>

I pushed "root-modules-set-policies-new" to stage which sets all 
policies to NEW for modules from cmake's own Modules directory if 
NO_POLICY_SCOPE is not used.

I haven't merged it to next yet in case someone things this is the wrong 
thing to do in general.

I figured since the new behavior only applies to cmake's own modules it 
should not require a policy.

Nils



More information about the cmake-developers mailing list