We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1f9d2c7 commit 26f7dd5Copy full SHA for 26f7dd5
1 file changed
meson.build
@@ -230,6 +230,12 @@ catch2_dep = declare_dependency(include_directories: 'externals/catch2/')
230
231
if get_option('enable-mpp')
232
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
+ })
239
mpp_subproj = cmake.subproject('Mutationpp')
240
mpp_dep = mpp_subproj.dependency('mutation++')
241
su2_deps += mpp_dep
0 commit comments