diff --git a/CMakeLists.txt b/CMakeLists.txt
index a93d0f30d6..e2d62498a1 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -265,7 +265,7 @@ if(CMAKE_C_COMPILER_ID MATCHES "MSVC")
# Fix non-conformant lambda behavior (constexpr variables shouldn't need capturing)
add_compile_options(/experimental:newLambdaProcessor)
# Fix various other non-conformant behaviors
- add_compile_options(/Zc:externConstexpr,lambda,preprocessor)
+ add_compile_options(/Zc:__cplusplus,externConstexpr,lambda,preprocessor)
# Temporarily disable warnings to enable /Zc:preprocessor compatibility with WinSDK headers.
add_compile_options(
diff --git a/Source/VSProps/Base.props b/Source/VSProps/Base.props
index 48beabb2c5..c29ab055ff 100644
--- a/Source/VSProps/Base.props
+++ b/Source/VSProps/Base.props
@@ -97,7 +97,7 @@
true
- /Zc:externConstexpr,lambda,preprocessor,throwingNew /volatile:iso %(AdditionalOptions)
+ /Zc:__cplusplus,externConstexpr,lambda,preprocessor,throwingNew /volatile:iso %(AdditionalOptions)
/Zo %(AdditionalOptions)