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