Skip to content

Commit f4f6298

Browse files
authored
Merge pull request #1615 from su2code/try_to_detect_wrong_meson
Try to detect wrong meson being used to configure SU2
2 parents 2808902 + fc37e00 commit f4f6298

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

meson.build

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ project('SU2', 'c', 'cpp',
66
'c_std=c99',
77
'cpp_std=c++11'])
88

9+
if meson.version() != '0.61.1'
10+
error('SU2 must be configured with the extended Meson script (./meson.py) in the SU2 root directory.')
11+
endif
912

1013
pymod = import('python')
1114
python = pymod.find_installation()

0 commit comments

Comments
 (0)