Commit 67f16389 authored by Pavel Rojtberg's avatar Pavel Rojtberg

viz: fix compilation - we need the VTK includes before ocv_define_module

parent 383559c2
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment