mirror of
https://github.com/opencv/opencv.git
synced 2025-06-12 04:12:52 +08:00
viz: fix compilation - we need the VTK includes before ocv_define_module
This commit is contained in:
parent
383559c228
commit
67f163892e
@ -3,9 +3,8 @@ if(NOT WITH_VTK OR NOT DEFINED HAVE_VTK OR NOT HAVE_VTK)
|
||||
endif()
|
||||
|
||||
set(the_description "Viz")
|
||||
ocv_define_module(viz opencv_core WRAP python)
|
||||
|
||||
include(${VTK_USE_FILE})
|
||||
ocv_define_module(viz opencv_core WRAP python)
|
||||
ocv_target_link_libraries(${the_module} ${VTK_LIBRARIES})
|
||||
|
||||
if(APPLE AND BUILD_opencv_viz)
|
||||
|
Loading…
Reference in New Issue
Block a user