[Insight-developers] CMake Warning (dev) at Utilities/vxl/CMakeLists.txt:13; Policy CMP0011 is not set

Luis Ibanez luis.ibanez at kitware.com
Thu Feb 26 14:37:49 EST 2009


Hi Sean,

Thanks for pointing this out.

We just committed a small patch:
http://www.itk.org/cgi-bin/viewcvs.cgi/Utilities/vxl/config/cmake/config/vxl_utils.cmake?root=Insight&r1=1.6&r2=1.7


It should take care of this CMake 2.6.3. warning.


Please let us know if you see any other issues.


    Thanks


        Luis


----------------------
Sean McBride wrote:
> Hi all,
> 
> It's been a while since I built ITK from scratch, but I did yesterday. 
> I also recently updated to CMake 2.6.3.  I now get this:
> 
> -----
>  CMake Warning (dev) at Utilities/vxl/CMakeLists.txt:13 (INCLUDE):
>   Policy CMP0011 is not set: Included scripts do automatic cmake_policy PUSH
>    and POP.  Run "cmake --help-policy CMP0011" for policy details.  Use the
>    cmake_policy command to set the policy and suppress this warning.
> 
>    The included script
> 
>      /Users/sean/kitware/Insight/Utilities/vxl/config/cmake/config/
> vxl_utils.cmake
> 
>    affects policy settings.  CMake is implying the NO_POLICY_SCOPE option for
>    compatibility, so the effects are applied to the including context.
>  This warning is for project developers.  Use -Wno-dev to suppress it.
> -----
> 
> What's this?  Can I safely ignore it?
> 
> Thanks,
> 


More information about the Insight-developers mailing list