mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2024-12-28 18:46:18 +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
|
- 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 -%}
|
||||||
|
|
Loading…
Reference in a new issue