projects
/
platform
/
upstream
/
opencv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5c76f99
)
don't use VTK_USE_FILE for VTK >= 8.90
author
Dustin Rodrigues
<dust.rod@gmail.com>
Sun, 6 Sep 2020 19:47:43 +0000
(15:47 -0400)
committer
Dustin Rodrigues
<dust.rod@gmail.com>
Sun, 6 Sep 2020 19:47:43 +0000
(15:47 -0400)
cmake/OpenCVDetectVTK.cmake
patch
|
blob
|
history
diff --git
a/cmake/OpenCVDetectVTK.cmake
b/cmake/OpenCVDetectVTK.cmake
index
4c83504
..
b8cf360
100644
(file)
--- a/
cmake/OpenCVDetectVTK.cmake
+++ b/
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()