diff --git a/modules/stitching/include/opencv2/stitching/detail/util.hpp b/modules/stitching/include/opencv2/stitching/detail/util.hpp index 6b1c5f34f..2769dc60b 100644 --- a/modules/stitching/include/opencv2/stitching/detail/util.hpp +++ b/modules/stitching/include/opencv2/stitching/detail/util.hpp @@ -46,7 +46,9 @@ #include #include "opencv2/core.hpp" +#ifndef ENABLE_LOG #define ENABLE_LOG 0 +#endif // TODO remove LOG macros, add logging class #if ENABLE_LOG