build(meshIO): defined meshio_ dependency

libraries which need mesh_io can now use meshio_dep which will automatically link and include headers for meshIO
This commit is contained in:
2025-02-19 14:33:28 -05:00
parent 4158c893d4
commit 4979475a98

View File

@@ -15,5 +15,9 @@ libmeshIO = static_library('meshIO',
dependencies: [mfem_dep],
install : true)
# Make headers accessible
install_headers(meshIO_headers, subdir : '4DSSE/meshIO')
meshio_dep = declare_dependency(
include_directories: include_directories('public'),
link_with: libmeshIO,
sources: meshIO_sources,
dependencies: [mfem_dep]
)