~paparazzi-uav/paparazzi/v5.0-manual

« back to all changes in this revision

Viewing changes to sw/ext/opencv_bebop/opencv/modules/viz/CMakeLists.txt

  • Committer: Paparazzi buildbot
  • Date: 2016-05-18 15:00:29 UTC
  • Revision ID: felix.ruess+docbot@gmail.com-20160518150029-e8lgzi5kvb4p7un9
Manual import commit 4b8bbb730080dac23cf816b98908dacfabe2a8ec from v5.0 branch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
if(NOT WITH_VTK OR NOT DEFINED HAVE_VTK OR NOT HAVE_VTK)
 
2
  ocv_module_disable(viz)
 
3
endif()
 
4
 
 
5
include(${VTK_USE_FILE})
 
6
set(the_description "Viz")
 
7
ocv_define_module(viz opencv_core ${VTK_LIBRARIES} WRAP python)
 
8
 
 
9
if(APPLE AND BUILD_opencv_viz)
 
10
  ocv_target_link_libraries(opencv_viz "-framework Cocoa")
 
11
endif()
 
12
 
 
13
if(TARGET opencv_test_viz)
 
14
  set_target_properties(opencv_test_viz PROPERTIES MACOSX_BUNDLE TRUE)
 
15
endif()