diff --git a/CMakePresets.json b/CMakePresets.json index bc5a7c995..d037839a7 100644 --- a/CMakePresets.json +++ b/CMakePresets.json @@ -83,7 +83,8 @@ ], "cacheVariables": { "CMAKE_C_COMPILER": "cl", - "CMAKE_CXX_COMPILER": "cl" + "CMAKE_CXX_COMPILER": "cl", + "CMAKE_CXX_FLAGS": "/Zc:__cplusplus" } }, {