From 0e3f7f10bd5482ee8d6051977b3595f88edf9ccb Mon Sep 17 00:00:00 2001 From: PJB3005 Date: Tue, 24 Feb 2026 13:11:35 +0100 Subject: [PATCH] Remove manual C++20 compile option from MSVC Not necessary, we already set CMAKE_CXX_STANDARD --- CMakeLists.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index e328369216..f3b3b04c52 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -27,7 +27,6 @@ elseif (MSVC) add_compile_options(/Zc:strictStrings-) add_compile_options(/MP) add_compile_options(/W0) - add_compile_options(/std:c++20) endif () if (NOT MSVC) set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-error -Wno-c++11-narrowing")