[vtk-developers] Problem with VTK_HAS_STD_ISFINITE
Marcus D. Hanwell
marcus.hanwell at kitware.com
Wed Jul 31 09:07:49 EDT 2013
On Wed, Jul 31, 2013 at 8:13 AM, David Gobbi <david.gobbi at gmail.com> wrote:
> The related variable VTK_HAS_ISFINITE is being incorrectly set, but I
> can fix that as soon as VTK moves to a more recent version of CMake.
> Right now, VTK uses the following check:
> check_symbol_exists(isfinite "math.h" VTK_HAS_ISFINITE)
> This check is not valid, because vtkMath includes "cmath", not
> "math.h". The check should really be this:
> check_cxx_symbol_exists(isfinite "cmath" VTK_HAS_ISFINITE)
> Unfortunately the cmake_cxx_symbol_exists() macro is not available in
> CMake 2.8.5.
Will CMake 2.8.8 bring in the feature you need? I proposed bumping our
CMake dependency yesterday, it would be good to know if it helps here
(or what version is required otherwise).
Marcus
More information about the vtk-developers
mailing list