Skip to content

Commit

Permalink
Adapt ninja command for builds outside the SU2 directory.
Browse files Browse the repository at this point in the history
  • Loading branch information
jblueh committed Sep 13, 2022
1 parent 713fb81 commit 88bdc9d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,8 @@ message('''---------------------------------------------------------------------
Use './ninja -C @12@ install' to compile and install SU2
'''.format(get_option('prefix')+'/bin', meson.source_root(), get_option('enable-tecio'), get_option('enable-cgns'),
get_option('enable-autodiff'), get_option('enable-directdiff'), get_option('enable-pywrapper'), get_option('enable-mkl'),
get_option('enable-openblas'), get_option('enable-pastix'), get_option('enable-mixedprec'), get_option('enable-librom'), meson.build_root().split('/')[-1]))
get_option('enable-openblas'), get_option('enable-pastix'), get_option('enable-mixedprec'), get_option('enable-librom'),
meson.build_root().startswith(meson.source_root()) ? meson.build_root().split('/')[-1] : meson.build_root())

if get_option('enable-mpp')
message(''' To run SU2 with Mutation++ library, add these lines to your .bashrc file:
Expand Down

0 comments on commit 88bdc9d

Please sign in to comment.