From 4979475a98947f3498222be8bd83ea06264e499d Mon Sep 17 00:00:00 2001 From: Emily Boudreaux Date: Wed, 19 Feb 2025 14:33:28 -0500 Subject: [PATCH] build(meshIO): defined meshio_ dependency libraries which need mesh_io can now use meshio_dep which will automatically link and include headers for meshIO --- src/meshIO/meson.build | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/meshIO/meson.build b/src/meshIO/meson.build index 1ea870a..fa71a68 100644 --- a/src/meshIO/meson.build +++ b/src/meshIO/meson.build @@ -15,5 +15,9 @@ libmeshIO = static_library('meshIO', dependencies: [mfem_dep], install : true) -# Make headers accessible -install_headers(meshIO_headers, subdir : '4DSSE/meshIO') \ No newline at end of file +meshio_dep = declare_dependency( + include_directories: include_directories('public'), + link_with: libmeshIO, + sources: meshIO_sources, + dependencies: [mfem_dep] +) \ No newline at end of file