diff --git a/cmake/coro_test_code.cpp b/cmake/coro_test_code.cpp index 4bb125b5e..77fbf04fc 100644 --- a/cmake/coro_test_code.cpp +++ b/cmake/coro_test_code.cpp @@ -1,4 +1,4 @@ -#if defined(__cpp_coroutines) && defined(__has_include) +#if (defined(__cpp_coroutines) || defined(__cpp_impl_coroutine)) && defined(__has_include) #if __has_include() #include namespace std_coro = std;