mirror of
https://github.com/opencv/opencv_contrib.git
synced 2025-10-15 12:07:08 +08:00
opencv-4.5.4 enable_cvv fixes #3063
The cvv module is compiled conditionally on HAVE_QT5. But in opencv commit 87d4970e8b4b3251035fdf4a0101335ee5904a58 this variable was renamed to HAVE_QT, so the module is never compiled. Also check if QT_VERSION_MAJOR >= 5
This commit is contained in:
@@ -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)
|
ocv_module_disable(cvv)
|
||||||
return()
|
return()
|
||||||
endif()
|
endif()
|
||||||
|
Reference in New Issue
Block a user