ocv_warnings_disable(CMAKE_CXX_FLAGS -Winconsistent-missing-override -Wsuggest-override)
ocv_define_module(viz opencv_core WRAP python)
-ocv_target_link_libraries(${the_module} LINK_PRIVATE ${VTK_LIBRARIES})
+ocv_target_link_libraries(${the_module} PRIVATE ${VTK_LIBRARIES})
if(APPLE AND BUILD_opencv_viz)
- ocv_target_link_libraries(${the_module} LINK_PRIVATE "-framework Cocoa")
+ ocv_target_link_libraries(${the_module} PRIVATE "-framework Cocoa")
endif()
if(TARGET opencv_test_viz)