Skip to content

Commit 3fa0e2a

Browse files
authored
Merge branch 'develop' into improve_unsteady_tutorials
2 parents 345800f + 6acc62f commit 3fa0e2a

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

SU2_PY/pySU2/meson.build

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
# check for swig
22
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 version >= 3.0.11')
9+
endif
10+
endif
11+
endforeach
312

413
# add mpi4py include
514
if mpi

0 commit comments

Comments
 (0)