2013-11-24 23:26:03 +04:00
|
|
|
if(NOT WITH_VTK OR NOT DEFINED HAVE_VTK OR NOT HAVE_VTK)
|
2013-11-26 13:29:50 +04:00
|
|
|
ocv_module_disable()
|
2013-03-18 19:52:46 +04:00
|
|
|
endif()
|
2013-09-18 12:50:55 +01:00
|
|
|
|
2013-11-24 23:26:03 +04:00
|
|
|
include(${VTK_USE_FILE})
|
2013-07-13 20:02:31 +04:00
|
|
|
set(the_description "Viz")
|
2013-11-24 23:26:03 +04:00
|
|
|
ocv_define_module(viz opencv_core ${VTK_LIBRARIES})
|
2013-03-18 19:52:46 +04:00
|
|
|
|
2013-11-24 23:26:03 +04:00
|
|
|
if(APPLE AND BUILD_opencv_viz)
|
|
|
|
target_link_libraries(opencv_viz "-framework Cocoa")
|
2013-03-18 19:52:46 +04:00
|
|
|
endif()
|