Commit f1760ede authored by David Gobbi's avatar David Gobbi
Browse files

COMP: Clear VTK_HAS_STD_ISFINITE and related variables.

The cmake variables VTK_HAS_STD_ISFINITE, VTK_HAS_STD_ISNAN, and
VTK_HAS_STD_ISINF were set incorrectly prior to commit c4b4eb3b,
and the incorrect settings are stuck in the CMakeCache.txt of many
machines (and will be until they clear their cache).  So this commit
specifically removes those variables from the cache, in order to
allow the correct checks to be done.  This commit will be reverted
after one week.

Change-Id: I27073fbe199957a551c65c090313d74a850b28db
parent 5239d41d
......@@ -316,6 +316,9 @@ include(CheckSymbolExists)
include(CheckIncludeFile)
# Check C++ <cmath> first, where the C++11 standard says these must be.
unset(VTK_HAS_STD_ISNAN CACHE)
unset(VTK_HAS_STD_ISINF CACHE)
unset(VTK_HAS_STD_ISFINITE CACHE)
check_cxx_expression_compiles("std::isnan(0.0)" "cmath" VTK_HAS_STD_ISNAN)
check_cxx_expression_compiles("std::isinf(0.0)" "cmath" VTK_HAS_STD_ISINF)
check_cxx_expression_compiles("std::isfinite(0.0)" "cmath" VTK_HAS_STD_ISFINITE)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment