From 7a374c43dc88e6717a068a4ee2254bff9d433349 Mon Sep 17 00:00:00 2001 From: Florent Rougon Date: Thu, 19 Oct 2017 10:40:17 +0200 Subject: [PATCH] Fix CMake test for std::isnan() It used the wrong header; std::isnan() is defined in . --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 5c25884a..e15718b6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -343,7 +343,7 @@ SET(CMAKE_MINSIZEREL_POSTFIX "" CACHE STRING "add a postfix, usually empty on wi # isnan might not be real symbol, so can't check using function_exists check_cxx_source_compiles( - "#include + "#include int main() { return std::isnan(0.0);} " HAVE_STD_ISNAN)