Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv
Commits
f570b3e1
Commit
f570b3e1
authored
Sep 15, 2013
by
Ozan Tonkal
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cmake check if VTK version is lower than 5, and give fatal error if it is
parent
3f27ba54
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
CMakeLists.txt
modules/viz/CMakeLists.txt
+3
-3
No files found.
modules/viz/CMakeLists.txt
View file @
f570b3e1
...
@@ -12,9 +12,9 @@ macro(find_qvtk)
...
@@ -12,9 +12,9 @@ macro(find_qvtk)
endmacro
()
endmacro
()
macro
(
find_vtk
)
macro
(
find_vtk
)
find_package
(
VTK
5.10.0
)
find_package
(
VTK
)
if
(
NOT VTK_FOUND
)
if
(
${
VTK_MAJOR_VERSION
}
LESS 5
)
find_package
(
VTK 6.0.0 REQUIRED
)
MESSAGE
(
FATAL_ERROR
"VTK 5 or more required!"
)
endif
()
endif
()
if
(
VTK_FOUND
)
if
(
VTK_FOUND
)
if
(
BUILD_SHARED_LIBS
OR
(
NOT BUILD_SHARED_LIBS AND NOT VTK_BUILD_SHARED_LIBS
))
if
(
BUILD_SHARED_LIBS
OR
(
NOT BUILD_SHARED_LIBS AND NOT VTK_BUILD_SHARED_LIBS
))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment