]> Creatis software - clitk.git/commitdiff
Add vtkQVTK to VTK_LIBRARIES for old VTK
authorRomulo Pinho <romulo.pinho@lyon.unicancer.fr>
Wed, 4 Apr 2012 11:01:24 +0000 (13:01 +0200)
committerRomulo Pinho <romulo.pinho@lyon.unicancer.fr>
Wed, 4 Apr 2012 11:01:24 +0000 (13:01 +0200)
- linked to commit 34835ff9cb225bfa8b317683fb2b27b4f6424dc2
- updated the lowest version

cmake/dependencies.cmake

index 74eab21a1f1f2d9e9801022ad12641ce729fe4bb..ebf076f277ff29a18c563c2b2ee68ee5ba451834 100644 (file)
@@ -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)