We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 109db77 commit 6b574daCopy full SHA for 6b574da
build/export_generators/cmake/root_cmake_lists.jinja
@@ -6,13 +6,10 @@ if (POLICY CMP0132)
6
endif()
7
8
project({{ project_name }} LANGUAGES
9
-{%- set has_asm = false -%}
10
{%- for project_language in project_languages -%}
11
-{%- if project_language == "ASM" -%}
12
-{% set has_asm = true %}
13
-{%- else %} {{ project_language }}
+{%- if project_language != "ASM" %} {{ project_language }}
14
{%- endif -%}
15
-{%- if (loop.last) and (has_asm) %} ASM
+{%- if (loop.last) and ("ASM" in project_languages) %} ASM
16
17
{%- endfor -%}
18
)
0 commit comments