opencv/modules/viz/CMakeLists.txt

12 lines
291 B
CMake
Raw Normal View History

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
include(${VTK_USE_FILE})
set(the_description "Viz")
ocv_define_module(viz opencv_core ${VTK_LIBRARIES})
2013-03-18 23:52:46 +08:00
if(APPLE AND BUILD_opencv_viz)
target_link_libraries(opencv_viz "-framework Cocoa")
2013-03-18 23:52:46 +08:00
endif()