Skip to content

Commit 22a136f

Browse files
committed
Merge pull request #671 from mshabunin:fix-cvv-build
2 parents 6768e48 + 7e11a7e commit 22a136f

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

modules/cvv/CMakeLists.txt

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ if(NOT HAVE_QT5)
44
endif()
55

66
set(the_description "Debug visualization framework")
7-
ocv_define_module(cvv opencv_core opencv_imgproc opencv_features2d ${CVV_LIBRARIES} WRAP python)
7+
ocv_add_module(cvv opencv_core opencv_imgproc opencv_features2d WRAP python)
88

99
# we need C++11 and want warnings:
1010
if(MSVC)
@@ -23,3 +23,10 @@ foreach(dt5_dep Core Gui Widgets)
2323
include_directories(${Qt5${dt5_dep}_INCLUDE_DIRS})
2424
list(APPEND CVV_LIBRARIES ${Qt5${dt5_dep}_LIBRARIES})
2525
endforeach()
26+
27+
ocv_glob_module_sources()
28+
ocv_module_include_directories()
29+
ocv_create_module(${CVV_LIBRARIES})
30+
ocv_add_accuracy_tests()
31+
ocv_add_perf_tests()
32+
ocv_add_samples()

0 commit comments

Comments
 (0)