Skip to content

Commit 26f7dd5

Browse files
committed
??
1 parent 1f9d2c7 commit 26f7dd5

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

meson.build

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,12 @@ catch2_dep = declare_dependency(include_directories: 'externals/catch2/')
230230

231231
if get_option('enable-mpp')
232232
cmake = import('cmake')
233+
if build_machine.cpu_family() == 'x86' or build_machine.cpu_family() == 'x86_64'
234+
cmake_opts = cmake.subproject_options()
235+
cmake_opts.add_cmake_defines({
236+
'CMAKE_MAKE_PROGRAM': meson.source_root() + '/ninja',
237+
'CMAKE_POSITION_INDEPENDENT_CODE': 'ON'
238+
})
233239
mpp_subproj = cmake.subproject('Mutationpp')
234240
mpp_dep = mpp_subproj.dependency('mutation++')
235241
su2_deps += mpp_dep

0 commit comments

Comments
 (0)