summaryrefslogtreecommitdiffstats
path: root/waftools/checks/custom.py
diff options
context:
space:
mode:
authorAkemi <der.richter@gmx.de>2018-07-08 17:05:13 +0200
committerJan Ekström <jeebjp@gmail.com>2018-09-30 16:54:03 +0300
commit5c2056ad0a43b1d15baef6d289aff8cacadad053 (patch)
treef6ed3e886a7b4ca7a45ed665c6b4ba9d77c8325e /waftools/checks/custom.py
parent50787acb275dc0465a0cf7234ee8f9bd07f0d4d1 (diff)
downloadmpv-5c2056ad0a43b1d15baef6d289aff8cacadad053.tar.bz2
mpv-5c2056ad0a43b1d15baef6d289aff8cacadad053.tar.xz
add swift as main dependency so all dependencies can be disabled easily
Diffstat (limited to 'waftools/checks/custom.py')
-rw-r--r--waftools/checks/custom.py2
1 files changed, 2 insertions, 0 deletions
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