Skip to content

Commit 15dc6f7

Browse files
committed
Merge pull request opencv#10863 from mshabunin:fix-viz-samples-build
2 parents 6dfd7e3 + f78b946 commit 15dc6f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

samples/cpp/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ endif()
3333
if(NOT HAVE_opencv_cudaarithm OR NOT HAVE_opencv_cudafilters)
3434
ocv_list_filterout(cpp_samples "/gpu/")
3535
endif()
36-
if(NOT VTK_USE_FILE)
36+
if(NOT BUILD_opencv_viz OR NOT VTK_USE_FILE)
3737
ocv_list_filterout(cpp_samples "/viz/")
3838
endif()
3939
if(NOT HAVE_IPP_A)

0 commit comments

Comments
 (0)