Skip to content

Commit c48a1e1

Browse files
committed
move if statement
1 parent dbb7864 commit c48a1e1

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

meson.build

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -229,13 +229,13 @@ endforeach
229229
catch2_dep = declare_dependency(include_directories: 'externals/catch2/')
230230

231231
if get_option('enable-mpp')
232-
cmake = import('cmake')
233232
if build_machine.cpu_family() == 'x86' or build_machine.cpu_family() == 'x86_64'
233+
cmake = import('cmake')
234234
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-
})
235+
cmake_opts.add_cmake_defines({
236+
'CMAKE_MAKE_PROGRAM': meson.source_root() + '/ninja',
237+
'CMAKE_POSITION_INDEPENDENT_CODE': 'ON'
238+
})
239239
endif
240240
mpp_subproj = cmake.subproject('Mutationpp')
241241
mpp_dep = mpp_subproj.dependency('mutation++')

0 commit comments

Comments
 (0)