|
@@ -38,20 +38,8 @@ else()
|
38
|
38
|
endif()
|
39
|
39
|
|
40
|
40
|
if ( LEMMA_VTK8_SUPPORT )
|
41
|
|
- find_package(VTK 8)
|
42
|
|
-# find_package(VTK 8.9 COMPONENTS vtkCommonCore vtkRenderingCore vtkFiltersCore vtkFiltersSources
|
43
|
|
-# vtkCommonDataModel vtkFiltersHyperTree vtkIOXML vtkIOImage vtkIOLegacy vtkIOGeometry vtkInteractionStyle
|
44
|
|
-# vtkRenderingAnnotation vtkFiltersHybrid vtkFiltersModeling vtkRenderingVolumeOpenGL2 NO_MODULE)
|
45
|
|
- #find_package(VTK 8 NO_MODULE)
|
46
|
|
- #vtkCommonDataModel vtkFiltersHyperTree vtkIOXML vtkIOImage vtkIOLegacy vtkIOGeometry vtkInteractionStyle
|
47
|
|
- #vtkRenderingAnnotation vtkFiltersHybrid vtkFiltersModeling vtkRenderingVolumeOpenGL2 NO_MODULE)
|
48
|
41
|
if ( NOT VTK_FOUND OR VTK_VERSION VERSION_GREATER "8.2.0" )
|
49
|
|
- #message(FATAL_ERROR "VTK 8 was found, but the wrong one! " ${VTK_VERSION}, ${VTK_MINOR_VERSION}, ${VTK_USE_FILE} )
|
50
|
|
- #endif()
|
51
|
|
- #if ( VTK_VERSION VERSION_GREATER "8.20.0" ) # or VTK_DIR-NOTFOUND)
|
52
|
|
- #message( AUTHOR_WARNING "VTK > 8.20.0 was found! " ${VTK_VERSION}, ${VTK_MINOR_VERSION}, ${VTK_USE_FILE} )
|
53
|
|
- #message( FATAL_ERROR "VTK > 8.20.0 was found! Version found: " ${VTK_VERSION}, ${VTK_USE_FILE} )
|
54
|
|
- message( STATUS "VTK > 8.20.0 was found! Version found: " ${VTK_VERSION}, ${VTK_USE_FILE} )
|
|
42
|
+ message( STATUS "VTK > 8.20.0 was found! Version found: " ${VTK_VERSION}, ${VTK_USE_FILE} )
|
55
|
43
|
message( STATUS "External build of VTK 8 has been added, this may take some time to build." )
|
56
|
44
|
ExternalProject_Add(VTK8
|
57
|
45
|
GIT_REPOSITORY "https://gitlab.kitware.com/vtk/vtk.git"
|