From d00f689c40f86630f5b61283468ce42915e855cb Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Mon, 29 Sep 2014 11:03:18 -0700 Subject: [PATCH] Fix type_traits check --- test/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index aba0724d..5e18a493 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -39,7 +39,7 @@ endforeach () check_cxx_source_compiles(" #include class C { void operator=(const C&); }; - int main() { static_assert(std::is_copy_assignable::value, \"\"); }" + int main() { static_assert(!std::is_copy_assignable::value, \"\"); }" HAVE_TYPE_TRAITS) if (HAVE_TYPE_TRAITS) add_definitions(-DFMT_USE_TYPE_TRAITS=1)