Commit a43e496f authored by Nick Laurenson's avatar Nick Laurenson
Browse files

Merge branch 'fix/setVtkUseSystemProtobuf' into 'master'

Enable setting system protobuf use for paraview.

See merge request !1
parents 7b514da7 926ebc25
set(pv_cmake_options "")
find_package(Protobuf)
if (Protobuf_FOUND)
list(APPEND pv_cmake_options "-DVTK_USE_SYSTEM_PROTOBUF:BOOL=TRUE" )
message(MESSAGE "Found a system-wide Protobuf library, tell VTK to use it to avoid runtime version mismatch")
set(VTK_USE_SYSTEM_PROTOBUF True 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}" )
endif()
superbuild_add_project(paraview
DEPENDS qt5 python pythonqt
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment