Commit f78b9468 authored by Maksim Shabunin's avatar Maksim Shabunin

Samples: fixed samples build in case the viz module is disabled

parent 252e871a
......@@ -33,7 +33,7 @@ endif()
if(NOT HAVE_opencv_cudaarithm OR NOT HAVE_opencv_cudafilters)
ocv_list_filterout(cpp_samples "/gpu/")
endif()
if(NOT VTK_USE_FILE)
if(NOT BUILD_opencv_viz OR NOT VTK_USE_FILE)
ocv_list_filterout(cpp_samples "/viz/")
endif()
if(NOT HAVE_IPP_A)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment