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:
c1148c4
)
Update OpenCVDetectVTK.cmake
author
Suleyman TURKMEN
<sturkmen@hotmail.com>
Tue, 28 Sep 2021 18:23:26 +0000
(21:23 +0300)
committer
Suleyman TURKMEN
<sturkmen@hotmail.com>
Thu, 30 Sep 2021 09:02:33 +0000
(12:02 +0300)
cmake/OpenCVDetectVTK.cmake
patch
|
blob
|
history
diff --git
a/cmake/OpenCVDetectVTK.cmake
b/cmake/OpenCVDetectVTK.cmake
index
57c1544
..
b1a58ca
100644
(file)
--- a/
cmake/OpenCVDetectVTK.cmake
+++ b/
cmake/OpenCVDetectVTK.cmake
@@
-1,7
+1,7
@@
if(NOT VTK_FOUND)
find_package(VTK QUIET NAMES vtk VTK)
if(VTK_FOUND)
- if(
VTK_VERSION VERSION_EQUAL "9") # VTK 9.0
+ if(
NOT (VTK_VERSION VERSION_LESS "9.0.0") AND (VTK_VERSION VERSION_LESS "10.0.0")) # VTK 9.x
find_package(VTK 9 QUIET NAMES vtk COMPONENTS
FiltersExtraction
FiltersSources