From 5c2056ad0a43b1d15baef6d289aff8cacadad053 Mon Sep 17 00:00:00 2001 From: Akemi Date: Sun, 8 Jul 2018 17:05:13 +0200 Subject: add swift as main dependency so all dependencies can be disabled easily --- waftools/checks/custom.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'waftools/checks/custom.py') diff --git a/waftools/checks/custom.py b/waftools/checks/custom.py index 1cb133f27c..821bf9c46f 100644 --- a/waftools/checks/custom.py +++ b/waftools/checks/custom.py @@ -115,6 +115,8 @@ def check_cocoa(ctx, dependency_identifier): def check_swift(ctx, dependency_identifier): if ctx.env.SWIFT_VERSION: major = int(ctx.env.SWIFT_VERSION.split('.')[0]) + ctx.add_optional_message(dependency_identifier, + 'version found: ' + ctx.env.SWIFT_VERSION) if major >= 3: return True return False -- cgit v1.2.3