diff --git a/mesonbuild/backend/ninjabackend.py b/mesonbuild/backend/ninjabackend.py index 560fe5335486..256cf7299669 100644 --- a/mesonbuild/backend/ninjabackend.py +++ b/mesonbuild/backend/ninjabackend.py @@ -605,7 +605,7 @@ def generate_compdb(self): with open(os.path.join(builddir, 'compile_commands.json'), 'wb') as f: f.write(jsondb) except Exception: - mlog.warning('Could not create compilation database.') + mlog.warning('Could not create compilation database.', fatal=False) # Get all generated headers. Any source file might need them so # we need to add an order dependency to them.