Merge pull request #8088 from paroj:vtkfix

This commit is contained in:
Alexander Alekhin 2017-01-30 13:51:40 +00:00
commit 67e24dd347

View File

@ -3,9 +3,8 @@ if(NOT WITH_VTK OR NOT DEFINED HAVE_VTK OR NOT HAVE_VTK)
endif() endif()
set(the_description "Viz") set(the_description "Viz")
ocv_define_module(viz opencv_core WRAP python)
include(${VTK_USE_FILE}) include(${VTK_USE_FILE})
ocv_define_module(viz opencv_core WRAP python)
ocv_target_link_libraries(${the_module} ${VTK_LIBRARIES}) ocv_target_link_libraries(${the_module} ${VTK_LIBRARIES})
if(APPLE AND BUILD_opencv_viz) if(APPLE AND BUILD_opencv_viz)