ci: Make template work on newer Jinja

This commit is contained in:
Ryan Pavlik 2023-11-14 11:28:02 -06:00 committed by Simon Zeni
parent 1da03628b8
commit 85931cba57

View file

@ -92,7 +92,7 @@ reuse:
- reuse lint - reuse lint
{% macro make_cmake_args(cmake_defines) %} {% macro make_cmake_args(cmake_defines) %}
{% if cmake_defines is defined %} {% if cmake_defines is defined and cmake_defines %}
{%- for k, v in cmake_defines |dictsort %} -D{{ k }}={{ v }}{% endfor %} {%- for k, v in cmake_defines |dictsort %} -D{{ k }}={{ v }}{% endfor %}
{%- endif %} {%- endif %}
{%- endmacro -%} {%- endmacro -%}