diff options
Diffstat (limited to 'mesonbuild/backend/ninjabackend.py')
-rw-r--r-- | mesonbuild/backend/ninjabackend.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mesonbuild/backend/ninjabackend.py b/mesonbuild/backend/ninjabackend.py index b9be80f..b847c2c 100644 --- a/mesonbuild/backend/ninjabackend.py +++ b/mesonbuild/backend/ninjabackend.py @@ -890,6 +890,8 @@ int dummy; cpp = target.compilers['cpp'] if cpp.get_id() != 'msvc': return False + if self.environment.coredata.compiler_options[target.for_machine]['cpp']['std'] != 'c++latest': + return False if not mesonlib.current_vs_supports_modules(): return False if mesonlib.version_compare(cpp.version, '<19.28.28617'): |