From a440d77c3396d26ebf81f178a933b106f8d2fefb Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Sun, 19 Jul 2015 13:54:15 +0200 Subject: Fix compiling with -Wall/error but no hugin. --- drumgizmo/drumgizmoc.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'drumgizmo') diff --git a/drumgizmo/drumgizmoc.cc b/drumgizmo/drumgizmoc.cc index 612973f..6111c72 100644 --- a/drumgizmo/drumgizmoc.cc +++ b/drumgizmo/drumgizmoc.cc @@ -122,8 +122,10 @@ int CliMain::run(int argc, char *argv[]) { int c; +#ifndef DISABLE_HUGIN const char *hugin_filter = "+all"; unsigned int hugin_flags = HUG_FLAG_OUTPUT_TO_STDOUT; +#endif/*DISABLE_HUGIN*/ std::string outputengine; std::string inputengine; -- cgit v1.2.3