Fix linking with VTK 7

pull/14/head
Dmitry Roshchin 2016-03-21 11:37:45 +03:00
parent 5b2f5352eb
commit a3c38dd617
1 changed files with 1 additions and 1 deletions

View File

@ -136,7 +136,7 @@ else()
endif() endif()
message(STATUS "Found package VTK. Using version " ${VTK_VERSION}) 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} ) set( vtk_LIBS ${VTK_LIBRARIES} )
else() else()
set( vtk_LIBS set( vtk_LIBS