Skip to content

Commit

Permalink
Change VTK version checks.
Browse files Browse the repository at this point in the history
We don't support 9.3 or higher currently.
Don't know if there will be a newer 9.2 release, but make allowances just in case.
  • Loading branch information
biagas committed May 28, 2024
1 parent 48d584c commit 2aeb6d8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/CMake/FindVisItVTK.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,11 @@ if(NOT VTK_VERSION)
endif()
endif()

if(VTK_VERSION VERSION_GREATER_EQUAL "9.2.6")
if(VTK_VERSION VERSION_GREATER_EQUAL "9.2.6" AND
VTK_VERSION VERSION_LESS "9.3.0")
include(${VISIT_SOURCE_DIR}/CMake/FindVTK9.cmake)
else()
message(FATAL_ERROR "Only VTK version >= 9.2.6 is supported")
message(FATAL_ERROR "Only VTK version >= 9.2.6 and < 9.3 is supported")
endif()

if(VTK_FOUND)
Expand Down

0 comments on commit 2aeb6d8

Please sign in to comment.