You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
709 B
25 lines
709 B
if(NOT HAVE_QT5 OR NOT HAVE_CXX11) |
|
ocv_module_disable(cvv) |
|
return() |
|
endif() |
|
|
|
set(the_description "Debug visualization framework") |
|
ocv_add_module(cvv opencv_core opencv_imgproc opencv_features2d WRAP python) |
|
|
|
ocv_warnings_disable(CMAKE_CXX_FLAGS -Wshadow -Wmissing-declarations) |
|
|
|
# Qt5 |
|
set(CMAKE_AUTOMOC ON) |
|
set(CMAKE_INCLUDE_CURRENT_DIR ON) |
|
foreach(dt5_dep Core Gui Widgets) |
|
add_definitions(${Qt5${dt5_dep}_DEFINITIONS}) |
|
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()
|
|
|