check if vtk 5.10.0 exists, if not require 6.0.0

This commit is contained in:
Ozan Tonkal 2013-09-08 19:29:59 +02:00
parent 56f9168ac1
commit 9895093524

View File

@ -12,7 +12,7 @@ macro(find_qvtk)
endmacro() endmacro()
macro(find_vtk) macro(find_vtk)
find_package(VTK 5.10.0 REQUIRED) find_package(VTK 5.10.0)
if(NOT VTK_FOUND) if(NOT VTK_FOUND)
find_package(VTK 6.0.0 REQUIRED) find_package(VTK 6.0.0 REQUIRED)
endif() endif()