Make static library if add_custom_command exists commit_hash:f01adac22703d17cf8005c452292b91a09b14939
@@ -30,6 +30,9 @@
{%- set only_headers_like_sources_library = false -%}
{%- endif -%}
+{%- if current_target.target_commands|selectattr('macro', 'eq', 'add_custom_command')|length -%}
+{%- set only_headers_like_sources_library = false -%}
+{%- endif -%}
{%- else -%}