diff --git a/modules/viz/CMakeLists.txt b/modules/viz/CMakeLists.txt index 6da1afc11a..7ccd079216 100644 --- a/modules/viz/CMakeLists.txt +++ b/modules/viz/CMakeLists.txt @@ -1,5 +1,5 @@ if(NOT WITH_VTK OR NOT DEFINED HAVE_VTK OR NOT HAVE_VTK) - ocv_module_disable() + ocv_module_disable(viz) endif() include(${VTK_USE_FILE})