From 2b2fc778f0ba9708341502f4d6d5b1be0b1638aa Mon Sep 17 00:00:00 2001 From: Andrew Maclean <andrew.amaclean@gmail.com> Date: Wed, 6 Mar 2019 08:37:09 +1100 Subject: [PATCH] Further checks on vtk version Former-commit-id: a6591f43c4f0d191cf7f8aaf77fc68c76871eb89 --- src/Cxx/Geovis/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Cxx/Geovis/CMakeLists.txt b/src/Cxx/Geovis/CMakeLists.txt index 03561fcb9db..0d18cd21d62 100644 --- a/src/Cxx/Geovis/CMakeLists.txt +++ b/src/Cxx/Geovis/CMakeLists.txt @@ -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 ) -- GitLab