From 7e11a7e11ae1cdc468f1e1059f2daeda47887517 Mon Sep 17 00:00:00 2001 From: Maksim Shabunin Date: Mon, 16 May 2016 14:54:16 +0300 Subject: [PATCH] Fixed cvv module build --- modules/cvv/CMakeLists.txt | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/modules/cvv/CMakeLists.txt b/modules/cvv/CMakeLists.txt index f941b2def..4eba9fdb4 100644 --- a/modules/cvv/CMakeLists.txt +++ b/modules/cvv/CMakeLists.txt @@ -4,7 +4,7 @@ if(NOT HAVE_QT5) endif() set(the_description "Debug visualization framework") -ocv_define_module(cvv opencv_core opencv_imgproc opencv_features2d ${CVV_LIBRARIES} WRAP python) +ocv_add_module(cvv opencv_core opencv_imgproc opencv_features2d WRAP python) # we need C++11 and want warnings: if(MSVC) @@ -23,3 +23,10 @@ foreach(dt5_dep Core Gui Widgets) include_directories(${Qt5${dt5_dep}_INCLUDE_DIRS}) list(APPEND CVV_LIBRARIES ${Qt5${dt5_dep}_LIBRARIES}) endforeach() + +ocv_glob_module_sources() +ocv_module_include_directories() +ocv_create_module(${CVV_LIBRARIES}) +ocv_add_accuracy_tests() +ocv_add_perf_tests() +ocv_add_samples()