[vtkusers] vtk 5.4.0 FindBoost.cmake warning

Michael Jackson mike.jackson at bluequartz.net
Wed May 13 14:26:03 EDT 2009


The problem is that VTK decided to use its own implementation of  
FindBoost.cmake instead of relying on the one from CMake which is  
_kind of_ understandable.

  I think what _really_ needs to happen is that the VTK code needs to  
figure out what version of CMake is being used then only use it's own  
FindBoost.cmake if CMake is less than probably 2.6.3.


---
Mike Jackson                 www.bluequartz.net



On May 13, 2009, at 2:11 PM, Darren Weber wrote:

>
> On Wed, May 13, 2009 at 8:18 AM, Wylie, Brian <bnwylie at sandia.gov>  
> wrote:
> 1) This can safely be ignored
> 2) I think if you upgrade to CMake 2.6.4 this warning will go away.
>
>
>
> FYI, it's still around with cmake 2.6.4, i.e.:
>
> -- Boost version: 1.38.0
> -- Found the following Boost libraries:
> CMake Warning (dev) at CMakeLists.txt:1005 (FIND_PACKAGE):
>   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
>
>     /opt/local/var/macports/build/_Users_dweber_ports_graphics_vtk- 
> devel/work/vtk-5.4/CMake/FindBoost.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.
>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers




More information about the vtkusers mailing list