From 2acecbfe85d91e3e226a92348e606c1e20ae8d12 Mon Sep 17 00:00:00 2001 From: Romulo Pinho Date: Wed, 4 Apr 2012 13:01:24 +0200 Subject: [PATCH] Add vtkQVTK to VTK_LIBRARIES for old VTK - linked to commit 34835ff9cb225bfa8b317683fb2b27b4f6424dc2 - updated the lowest version --- cmake/dependencies.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmake/dependencies.cmake b/cmake/dependencies.cmake index 74eab21..ebf076f 100644 --- a/cmake/dependencies.cmake +++ b/cmake/dependencies.cmake @@ -13,7 +13,7 @@ ENDIF(ITK_FOUND) FIND_PACKAGE(VTK REQUIRED) IF(VTK_FOUND) INCLUDE("${VTK_USE_FILE}") - IF(VTK_VERSION VERSION_LESS 5.8.0) + IF(VTK_VERSION VERSION_LESS 5.6.0) SET ( VTK_LIBRARIES vtkCommon vtkRendering @@ -25,7 +25,7 @@ IF(VTK_FOUND) vtkHybrid vtkQVTK ) - ENDIF(VTK_VERSION VERSION_LESS 5.8.0) + ENDIF(VTK_VERSION VERSION_LESS 5.6.0) ELSE(VTK_FOUND) MESSAGE(FATAL_ERROR "Please set VTK_DIR.") ENDIF(VTK_FOUND) -- 2.47.1