Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
LidarView
LidarView-Superbuild
Commits
7881cbd9
Commit
7881cbd9
authored
Apr 13, 2021
by
Arnaud Billon
💬
Browse files
[refactor] Hide Protobuf Warning when not needed
parent
ad65c72a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Projects/paraview.cmake
View file @
7881cbd9
set
(
pv_cmake_options
""
)
find_package
(
Protobuf
)
if
(
Protobuf_FOUND
)
if
(
Protobuf_FOUND
AND NOT VTK_USE_SYSTEM_PROTOBUF
)
message
(
MESSAGE
"Found a system-wide Protobuf library, tell VTK to use it to avoid runtime version mismatch"
)
set
(
VTK_USE_SYSTEM_PROTOBUF ON CACHE BOOL
"Tell paraview to use the system-wide Protobuf that CMake found, to avoid runtime version mismatch."
)
list
(
APPEND pv_cmake_options
"-DVTK_USE_SYSTEM_PROTOBUF:BOOL=
${
VTK_USE_SYSTEM_PROTOBUF
}
"
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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