mirror of
https://github.com/opencv/opencv.git
synced 2025-06-07 09:25:45 +08:00
don't use VTK_USE_FILE for VTK >= 8.90
This commit is contained in:
parent
5c76f99fdd
commit
05ad3a535f
@ -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…
Reference in New Issue
Block a user