Files
SERiF/build-config/mfem/meson.build
Emily Boudreaux 016382ea4f fix(build): using mesons built in patch system
the previous custom patch system failed based on order sometimes. We now use mesons build in patch system which guarenees patch order application
2025-03-13 14:11:23 -04:00

16 lines
505 B
Meson

patchFile = files('disable_mfem_selfcheck.patch')
mfem_cmake_options = cmake.subproject_options()
mfem_cmake_options.add_cmake_defines({
'MFEM_ENABLE_EXAMPLES': 'OFF',
'MFEM_ENABLE_TESTING': 'OFF',
'MFEM_ENABLE_MINIAPPS': 'OFF',
'MFEM_USE_BENCMARK': 'OFF',
})
mfem_sp = cmake.subproject(
'mfem',
options: mfem_cmake_options)
mfem_dep = mfem_sp.dependency('mfem')
add_project_arguments('-I' + meson.current_build_dir() + '/subprojects/mfem/__CMake_build/config', language: 'cpp')