Skip to content

Commit

Permalink
add bmiheatf as a dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
mcflugen committed Mar 9, 2024
1 parent f764837 commit 87c4650
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions babelizer/data/{{cookiecutter.package_name}}/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ project('{{ cookiecutter.package_name }}', '{{ cookiecutter.language }}', 'cytho
py = import('python').find_installation(pure: false)
fc = meson.get_compiler('fortran')

bmiheatf = dependency('bmiheatf', method : 'pkg-config')

python_inc = py.get_path('data') / 'include'
numpy_inc = run_command(
py,
Expand All @@ -25,6 +27,7 @@ incs = include_directories(

{% set dependency_list = cookiecutter.package_requirements.split(',') -%}
deps = [
bmiheatf,
{%- for dependency in dependency_list if dependency != '' %}
fc.find_library('{{ dependency }}'),
{%- endfor %}
Expand Down

0 comments on commit 87c4650

Please sign in to comment.