From a3c38dd6177b32f443bbec8b49a1d97200ad2ab3 Mon Sep 17 00:00:00 2001 From: Dmitry Roshchin Date: Mon, 21 Mar 2016 11:37:45 +0300 Subject: [PATCH] Fix linking with VTK 7 --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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