diff --git a/CMakeLists.txt b/CMakeLists.txt index b4a0eab..0c1d52d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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