dependencies: only print not_found_message once

Due to an accidentally repeated line it would print twice unless
required.

Fixes #8150
pull/11137/head
Michael Champanis 2 years ago committed by Eli Schwartz
parent 48f08a7c49
commit f194413f87
No known key found for this signature in database
GPG Key ID: CEB167EFB5722BD6
  1. 1
      mesonbuild/interpreter/interpreter.py

@ -1706,7 +1706,6 @@ class Interpreter(InterpreterBase, HoldableObject):
assert isinstance(d, Dependency)
if not d.found() and not_found_message:
self.message_impl([not_found_message])
self.message_impl([not_found_message])
# Ensure the correct include type
if 'include_type' in kwargs:
wanted = kwargs['include_type']

Loading…
Cancel
Save