fix: fix packer template error
This commit is contained in:
@@ -10,7 +10,7 @@ includedir=${prefix}/include
|
||||
Name: {{ name }}
|
||||
Description: {{ description }}
|
||||
Version: {{ version }}
|
||||
{% if len(requires) != 0 -%}
|
||||
{%- if requires | length != 0 %}
|
||||
Requires: {{ requires | join(", ") }}
|
||||
{%- endif %}
|
||||
Libs: -L${libdir} -l{{ artifact }}
|
||||
|
||||
@@ -32,7 +32,7 @@ else()
|
||||
)
|
||||
endif()
|
||||
|
||||
{% if len(dependencies) != 0 -%}
|
||||
{% if dependencies | length != 0 -%}
|
||||
{# Pull in declared dependencies and wire them into the imported target -#}
|
||||
include(CMakeFindDependencyMacro)
|
||||
{% for dep in dependencies -%}
|
||||
|
||||
Reference in New Issue
Block a user