We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b619a06 + 567e40c commit 4fc6995Copy full SHA for 4fc6995
modules/viz/CMakeLists.txt
@@ -40,7 +40,9 @@ if (VTK_VERSION VERSION_LESS "8.90.0")
40
ocv_target_link_libraries(${the_module} PRIVATE ${VTK_LIBRARIES})
41
else ()
42
43
- vtk_module_autoinit(TARGETS ${the_module} MODULES ${VTK_LIBRARIES})
+ if(NOT BUILD_opencv_world OR NOT OPENCV_MODULE_${the_module}_IS_PART_OF_WORLD)
44
+ vtk_module_autoinit(TARGETS ${the_module} MODULES ${VTK_LIBRARIES})
45
+ endif()
46
endif()
47
48
if(APPLE AND BUILD_opencv_viz)
0 commit comments