diff options
Diffstat (limited to 'SConstruct')
-rw-r--r-- | SConstruct | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/SConstruct b/SConstruct index be896517841..387397f26d2 100644 --- a/SConstruct +++ b/SConstruct @@ -3559,7 +3559,8 @@ def doConfigure(myenv): if myenv.ToolchainIs('msvc'): if get_option('cxx-std') == "17": - myenv.AppendUnique(CCFLAGS=['/std:c++17']) + myenv.AppendUnique(CCFLAGS=['/std:c++17', + '/Zc:lambda']) # /Zc:lambda is implied by /std:c++20 elif get_option('cxx-std') == "20": myenv.AppendUnique(CCFLAGS=['/std:c++20']) else: |