Commit 4ee5d7b9 authored by David Gobbi's avatar David Gobbi Committed by Code Review
Browse files

Merge topic 'clear-std-isfinite' into master

3680d942 COMP: Cache VTK_HAS_STD_ISFINITE and related variables.
parents 89d256d1 3680d942
......@@ -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