[cmake-developers] [PATCH] FindCUDA: Wrap keyword in if() string comparison
Adam Strzelecki
ono at java.pl
Wed Sep 17 09:24:46 EDT 2014
> Wait, what? This is actually the opposite of what that policy is for, no? Adam, I don't blame you, just to get that said first. The question is: does this policy warning trigger far too often?
Yes, you are absolutely right. But the problem is that internal modules run in whatever policy is currently set. Few of them conditionally change policy for some short scopes.
I was more less following how Brad has been fixing this issues on other modules, i.e.: e177e7affb10fc25b71d4c9d9796c9df7fcdb800
Honestly I would expect that all internal modules run in latest policy by default, or at least declare their policy in file header, but this is not a case.
--Adam
More information about the cmake-developers
mailing list