don't use VTK_USE_FILE for VTK >= 8.90

pull/18280/head
Dustin Rodrigues 4 years ago
parent 5c76f99fdd
commit 05ad3a535f
  1. 6
      cmake/OpenCVDetectVTK.cmake

@ -84,4 +84,8 @@ if(NOT ${VTK_COMPILE_STATUS})
endif()
set(HAVE_VTK ON)
message(STATUS "Found VTK ${VTK_VERSION} (${VTK_USE_FILE})")
if (VTK_VERSION VERSION_LESS "8.90.0")
message(STATUS "Found VTK ${VTK_VERSION} (${VTK_USE_FILE})")
else()
message(STATUS "Found VTK ${VTK_VERSION}")
endif()

Loading…
Cancel
Save