Skip to content
Snippets Groups Projects
Commit a6591f43 authored by Andrew Maclean's avatar Andrew Maclean
Browse files

Further checks on vtk version

parent 0f6b9d7d
No related branches found
No related tags found
No related merge requests found
......@@ -40,7 +40,7 @@ if (DEPRC_SRCS)
list(REMOVE_ITEM ALL_FILES ${DEPRC_SRCS})
endif()
if(NOT VTK_LEGACY_REMOVE)
if((NOT VTK_LEGACY_REMOVE) AND (VTK_VERSION VERSION_LESS "8.90.0"))
Requires_Module(GeoGraticle vtkViewsGeovis)
endif()
......@@ -59,7 +59,7 @@ endforeach()
if (BUILD_TESTING)
# Testing
set(KIT Geovis)
if(NOT VTK_LEGACY_REMOVE)
if((NOT VTK_LEGACY_REMOVE) AND (VTK_VERSION VERSION_LESS "8.90.0"))
set(NEEDS_ARGS
GeoGraticule
)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment