diff --git a/CMakeLists.txt b/CMakeLists.txt index 276767fa4..bcfa4a8c8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -52,7 +52,7 @@ if(NOT MSVC AND USE_LIBCPP) check_cxx_source_compiles(" #include - int main() { return std::is_same::value ? 0 : 1; } + int main() { return std::is_same_v ? 0 : 1; } " HAS_LIBCPP) if(NOT HAS_LIBCPP)