diff --git a/modules/cvv/CMakeLists.txt b/modules/cvv/CMakeLists.txt index 709464ee8..c264ef1ea 100644 --- a/modules/cvv/CMakeLists.txt +++ b/modules/cvv/CMakeLists.txt @@ -1,4 +1,4 @@ -if(NOT HAVE_QT5 OR NOT HAVE_CXX11) +if(NOT HAVE_QT OR NOT HAVE_CXX11 OR QT_VERSION_MAJOR LESS 5) ocv_module_disable(cvv) return() endif()