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

Brad King brad.king at kitware.com
Wed Sep 24 10:58:03 EDT 2014


On 09/24/2014 10:49 AM, Adam Strzelecki wrote:
> do implicit push&pop for include when CMP0011 is NEW *OR*
> when included module is part of CMake own modules

I think this would be okay, as long as NO_POLICY_SCOPE
is still honored when given explicitly to include() and
find_package().  The only reason for the pre-CMP0011
behavior and NO_POLICY_SCOPE is in case the purpose of
a module is to set policies.  None of the builtin modules
do that.

Thanks,
-Brad




More information about the cmake-developers mailing list