From cf14d321e8f084f742b03e09c086d5ef30297492 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 3 May 2007 03:45:29 +0000 Subject: Fixed LV2-less build. git-svn-id: http://svn.drobilla.net/lad/ingen@492 a436a847-0d15-0410-975c-d299462d15a1 --- src/libs/client/PluginModel.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/libs') diff --git a/src/libs/client/PluginModel.h b/src/libs/client/PluginModel.h index 20777bd9..16ad8c48 100644 --- a/src/libs/client/PluginModel.h +++ b/src/libs/client/PluginModel.h @@ -48,7 +48,9 @@ public: , _name(name) { set_type_from_uri(type_uri); +#ifdef HAVE_SLV2 _slv2_plugin = slv2_plugins_get_by_uri(_slv2_plugins, uri.c_str()); +#endif } Type type() const { return _type; } -- cgit v1.2.1