[vtkusers] CMake Boost with VTK?

David Doria daviddoria+vtk at gmail.com
Wed May 19 13:57:25 EDT 2010


I don't know if anyone has seen that Boost is hosting a "cmake-able" version:

http://www.gitorious.org/boost/cmake

It seems to be 1.41+, but when I try to build VTK using it, it tells
me that 1.32 or later is required.

By commenting the following from src/VTK/CMakeLists.txt

#  if (BOOST_VERSION LESS 103200)
#    MESSAGE(SEND_ERROR "Incompatible Boost version.  Boost 1.32.0 or
later is required.")
#  endif (BOOST_VERSION LESS 103200)

It compiles and runs fine. Maybe this option should be allowed to keep
things in the CMake family?

Thanks,

David



More information about the vtkusers mailing list