Only do module scanning if C++ version is latest.

pull/8143/head
Jussi Pakkanen 4 years ago
parent 7a9a9e4a99
commit 80390dd987
  1. 2
      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'):

Loading…
Cancel
Save