diff --git a/build/cmake/setup.cmake b/build/cmake/setup.cmake index 9e0e4d24d4..1bc1a10fd8 100644 --- a/build/cmake/setup.cmake +++ b/build/cmake/setup.cmake @@ -580,7 +580,7 @@ endif() check_cxx_symbol_exists(round math.h HAVE_ROUND) # Check includes -if(NOT MSVC_VERSION LESS 1600) +if(NOT MSVC_VERSION OR NOT MSVC_VERSION LESS 1600) check_include_file_cxx(tr1/type_traits HAVE_TR1_TYPE_TRAITS) check_include_file_cxx(type_traits HAVE_TYPE_TRAITS) endif()