From 0fcff9f5ea23425570848cff04915523457c0d4c Mon Sep 17 00:00:00 2001 From: Pokechu22 Date: Tue, 23 Aug 2022 12:09:51 -0700 Subject: [PATCH] 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. --- Externals/imgui/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Externals/imgui/CMakeLists.txt b/Externals/imgui/CMakeLists.txt index 16e5ee486f..becebfbe65 100644 --- a/Externals/imgui/CMakeLists.txt +++ b/Externals/imgui/CMakeLists.txt @@ -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()