From 56bdf8ae03072b4e3d49a9246ed33c61a0f88be2 Mon Sep 17 00:00:00 2001 From: JP Cimalando Date: Mon, 19 Aug 2019 23:19:46 +0200 Subject: [PATCH] Allow generic units to pass validation --- distrho/src/DistrhoPluginLV2export.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/distrho/src/DistrhoPluginLV2export.cpp b/distrho/src/DistrhoPluginLV2export.cpp index 3c44b872..3038ffbd 100644 --- a/distrho/src/DistrhoPluginLV2export.cpp +++ b/distrho/src/DistrhoPluginLV2export.cpp @@ -606,6 +606,7 @@ void lv2_generate_ttl(const char* const basename) else { pluginString += " unit:unit [\n"; + pluginString += " a unit:Unit ;\n"; pluginString += " rdfs:label \"" + unit + "\" ;\n"; pluginString += " unit:symbol \"" + unit + "\" ;\n"; pluginString += " unit:render \"%f " + unit + "\" ;\n";