mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2024-12-27 18:16:55 +00:00
ci: Make template work on newer Jinja
This commit is contained in:
parent
1da03628b8
commit
85931cba57
|
@ -92,7 +92,7 @@ reuse:
|
|||
- reuse lint
|
||||
|
||||
{% 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 %}
|
||||
{%- endif %}
|
||||
{%- endmacro -%}
|
||||
|
|
Loading…
Reference in a new issue