opencv/modules/viz/CMakeLists.txt

12 lines
288 B
CMake
Raw Normal View History

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