process: correct the way its dependent on the dump plugin
include (LibAddMacros)
find_package (Pluginprocess)
+plugin_check_if_included ("dump")
+if (NOT NOT_INCLUDED)
if (PLUGINPROCESS_FOUND)
add_plugin (process
SOURCES
@@ -18,3 +20,6 @@ add_plugin (process
else (PLUGINPROCESS_FOUND)
message ("${PLUGINPROCESS_NOTFOUND_INFO}, excluding pluginprocess library, thus excluding the process plugin")
endif (PLUGINPROCESS_FOUND)
+else (NOT NOT_INCLUDED)
+ message ("dump plugin not found (${NOT_INCLUDED}), excluding the process plugin")
+endif (NOT NOT_INCLUDED)
