2013-11-25 03:26:03 +08:00
|
|
|
if(NOT WITH_VTK OR NOT DEFINED HAVE_VTK OR NOT HAVE_VTK)
|
2013-11-28 16:10:28 +08:00
|
|
|
ocv_module_disable(viz)
|
2013-03-18 23:52:46 +08:00
|
|
|
endif()
|
2013-09-18 19:50:55 +08:00
|
|
|
|
2013-11-25 03:26:03 +08:00
|
|
|
include(${VTK_USE_FILE})
|
2013-07-14 00:02:31 +08:00
|
|
|
set(the_description "Viz")
|
2013-11-25 03:26:03 +08:00
|
|
|
ocv_define_module(viz opencv_core ${VTK_LIBRARIES})
|
2013-03-18 23:52:46 +08:00
|
|
|
|
2013-11-25 03:26:03 +08:00
|
|
|
if(APPLE AND BUILD_opencv_viz)
|
|
|
|
target_link_libraries(opencv_viz "-framework Cocoa")
|
2013-03-18 23:52:46 +08:00
|
|
|
endif()
|