We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f4f6298 commit 37289faCopy full SHA for 37289fa
1 file changed
SU2_PY/pySU2/meson.build
@@ -1,5 +1,14 @@
1
# check for swig
2
swig = find_program('swig')
3
+# check version, manually because meson tries --version but swig uses -version.
4
+swig_version = run_command('swig', '-version').stdout().split('\n')
5
+foreach line : swig_version
6
+ if line.startswith('SWIG Version ')
7
+ if line.replace('SWIG Version ','').version_compare('<3.0.11')
8
+ error('The SU2 Python wrapper requires Swig > 3.0.10')
9
+ endif
10
11
+endforeach
12
13
# add mpi4py include
14
if mpi
0 commit comments