request version of VTK

This commit is contained in:
Sébastien Loriot 2015-10-22 12:08:06 +02:00
parent 3e509ce564
commit c54bcbb47c
2 changed files with 3 additions and 3 deletions

View File

@ -509,7 +509,7 @@ if(CGAL_Qt5_FOUND AND Qt5_FOUND AND OPENGL_FOUND AND QGLVIEWER_FOUND)
polyhedron_demo_plugin(example_plugin Polyhedron_demo_example_plugin ${exampleUI_FILES} ${example_dockUI_FILES})
target_link_libraries(example_plugin scene_polyhedron_item)
find_package(VTK QUIET COMPONENTS
find_package(VTK QUIET 6.0 COMPONENTS
vtkCommonCore vtkIOCore vtkIOLegacy vtkIOXML)
if (VTK_FOUND)
include(${VTK_USE_FILE})
@ -521,7 +521,7 @@ if(CGAL_Qt5_FOUND AND Qt5_FOUND AND OPENGL_FOUND AND QGLVIEWER_FOUND)
message(STATUS "NOTICE : the vtk IO plugin needs VTK libraries and will not be compiled.")
endif()
else()
message(STATUS "NOTICE : the vtk IO plugin needs VTK and will not be compiled.")
message(STATUS "NOTICE : the vtk IO plugin needs VTK 6.0 or greater and will not be compiled.")
endif()
#
# Exporting

View File

@ -97,7 +97,7 @@ if ( CGAL_FOUND AND CGAL_Qt5_FOUND AND CGAL_ImageIO_FOUND)
add_to_cached_list( CGAL_EXECUTABLE_TARGETS ${prj} )
find_package(VTK 6.0 COMPONENTS
find_package(VTK QUIET 6.0 COMPONENTS
vtkImagingCore
)
if(VTK_FOUND)