Fix linking with VTK 7

This commit is contained in:
Dmitry Roshchin 2016-03-21 11:37:45 +03:00
parent 5b2f5352eb
commit a3c38dd617

View File

@ -136,7 +136,7 @@ else()
endif()
message(STATUS "Found package VTK. Using version " ${VTK_VERSION})
if("${VTK_MAJOR_VERSION}" EQUAL 6)
if("${VTK_MAJOR_VERSION}" GREATER 5)
set( vtk_LIBS ${VTK_LIBRARIES} )
else()
set( vtk_LIBS