mirror of
https://github.com/opencv/opencv.git
synced 2025-06-07 09:25:45 +08:00
Samples: fixed samples build in case the viz module is disabled
This commit is contained in:
parent
252e871a8b
commit
f78b9468dd
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user