Commit 3680d942 authored by David Gobbi's avatar David Gobbi
Browse files

COMP: Cache VTK_HAS_STD_ISFINITE and related variables.

One week ago (Jul 22) I added code to the CMakeLists.txt to clear
VTK_HAS_STD_ISFINITE, VTK_HAS_STD_ISNAN, and VTK_HAS_STD_ISINF
from the cache, in order to avoid dashboard build errors from
machines that had cached the incorrect values for these variables.
Now that all the dashboards have run, these variable can be persistent
in the cache like most other cache variables.

Change-Id: I38084b25da3328b4f2b833b5654653688b1eb2c5
parent f1760ede
......@@ -316,9 +316,6 @@ 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