From: Romulo Pinho Date: Wed, 4 Apr 2012 11:01:24 +0000 (+0200) Subject: Add vtkQVTK to VTK_LIBRARIES for old VTK X-Git-Tag: v1.3.0~58 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=2acecbfe85d91e3e226a92348e606c1e20ae8d12;p=clitk.git Add vtkQVTK to VTK_LIBRARIES for old VTK - linked to commit 34835ff9cb225bfa8b317683fb2b27b4f6424dc2 - updated the lowest version --- 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)