drogonframework / drogonframework/drogon
Drogon defaults to C++17 in CMake – how to enable C++20 for coroutine support?
Open
- Dominant language
- C++
- Stars
- 14.3k
- Forks
- 1.4k
- Avg merge
- 1d 13h
- Merged PRs (30d)
- 14
Description
Hi, I’m trying to use Drogon with C++20 and coroutines. However, when I run the `cmake ..` command, the output always shows that it’s using C++17. As a result, coroutine support is missing. I'm not sure why this happens, especially since I’m using g++ 14 and coroutines work fine in other projects.
Thanks in advance :)

Contributor guide
Assessment
This issue has not been assessed yet.