cmake: Use C++20 for ImGui

We use Dolphin code (specifically Common's ASSERT) from ImGui, and that will use C++20 features in the next commit, so ImGui needs to be built with C++20 for that to work properly.
This commit is contained in:
Pokechu22 2022-08-23 12:09:51 -07:00
parent 299aef945b
commit 0fcff9f5ea
1 changed files with 1 additions and 1 deletions

View File

@ -1,5 +1,5 @@
if (NOT MSVC)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD 20)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_EXTENSIONS OFF)
endif()